SPECS: perl-UNIVERSAL-require.spec - pl(?)
qboosh
qboosh at pld-linux.org
Tue Nov 15 22:14:56 CET 2005
Author: qboosh Date: Tue Nov 15 21:14:55 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl(?)
---- Files affected:
SPECS:
perl-UNIVERSAL-require.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/perl-UNIVERSAL-require.spec
diff -u SPECS/perl-UNIVERSAL-require.spec:1.1 SPECS/perl-UNIVERSAL-require.spec:1.2
--- SPECS/perl-UNIVERSAL-require.spec:1.1 Mon Nov 7 15:14:07 2005
+++ SPECS/perl-UNIVERSAL-require.spec Tue Nov 15 22:14:50 2005
@@ -7,7 +7,7 @@
%define pdir UNIVERSAL
%define pnam require
Summary: UNIVERSAL::require - require() modules from a variable
-#Summary(pl):
+Summary(pl): UNIVERSAL::require - wymaganie modułów ze zmiennej
Name: perl-UNIVERSAL-require
Version: 0.10
Release: 1
@@ -28,14 +28,23 @@
eval "require $module";
to get around the bareword caveats on require(), this module is for
-you. It creates a universal require() class method that will work
-with every Perl module and its secure. So instead of doing some
+you. It creates a universal require() class method that will work
+with every Perl module and it's secure. So instead of doing some
arcane eval() work, you can do this:
$module->require;
-# %description -l pl
-# TODO
+%description -l pl
+Jeśli kiedykolwiek było nam potrzebne...
+
+ eval "require $module";
+
+do obejścia przeciwności require(), ten moduł jest dla nas. Tworzy
+uniwersalną metodę klasy require() działającą z każdym modułem Perla,
+a jednocześnie bezpieczną. Czyli zamiast wykonywania jakichś tajemnych
+działań z eval(), można zrobić:
+
+ $module->require;
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -68,8 +77,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/11/15 21:14:50 qboosh
+- pl(?)
+
Revision 1.1 2005/11/07 14:14:07 migo
- initial revision
- UNIVERSAL::require is now separated from UNIVERSAL-exports package. But
UNIVERSAL-exports still contain UNIVERSAL::require...
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/perl-UNIVERSAL-require.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list