SPUG: need information about ENV in linux platform
Creede Lambard
creede at penguinsinthenight.com
Wed Dec 29 09:45:21 CST 2004
You're probably doing something like using ENV() (with parentheses) instead
of ENV{} (with curly brackets). ENV{} is a builtin array that holds your
environment variables. ENV() is a function you would have to define.
On Wed, Dec 29, 2004 at 06:14:05PM +0550, Sachin Chaturvedi wrote:
> i am working in linux platform with a perl script.
>
> i am using path /usr/bin/perl for executing a perl .pm file from within the file .
>
> but i am facing a problem that it gives message like
>
> Can't call method "ENV" without a package or object reference at ....
>
> when there is a reference to ENV .
>
> Is this problem with perl version as this script has been written for perl5plus and i am using /bin/perl OR
>
> i have to include some package for getting this work
>
> Thanks
>
> Sachin
> _____________________________________________________________
> Seattle Perl Users Group Mailing List
> POST TO: spug-list at mail.pm.org
> SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
> MEETINGS: 3rd Tuesdays, Location: Amazon.com Pac-Med
> WEB PAGE: http://seattleperl.org/
--
===================================================================
* .~. ( : Creede Lambard :
Never rush a miracle man. . / V \ . :------------------------:
You get lousy miracles. /( )\ : creede at :
--------------------------------^^-^^----: penguinsinthenight :
Linux. Reliable and free. Pick any two. : dot com :
===================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/spug-list/attachments/20041229/f1f68503/attachment-0001.bin
More information about the spug-list
mailing list