Exposing my ignorance, wanting help with use!
Matt Lawrence
matt.lawrence at virgin.net
Wed Feb 14 17:33:04 GMT 2007
Uri Guttman wrote:
>>>>>> "DIM" == Dagfinn Ilmari Mannsåker <ilmari at ilmari.org> writes:
>>>>>>
>
> DIM> But UNIVERSAL::require gives you a universal ->require() method that
> DIM> works on strings, so you can do it like this:
>
> i can't find this in the docs for UNIVERSAL.
>
> perl -e 'Foo->require( "strict" )'
> Can't locate object method "require" via package "Foo" (perhaps you forgot to load "Foo"?) at -e line 1.
>
>
You have to install UNIVERSAL::require first:
http://search.cpan.org/~mschwern/UNIVERSAL-require-0.11/
:)
Matt
More information about the london.pm
mailing list