both #!/usr/bin/perl -w and perl -w my.pl will do the warnings work,but 
use warnings will throw exception. 
if i setup a file called warnings.pm(it only conatins 1) in my lib and don't use 
directive or option,there is no warning and exception 
stanley 
 nkuipers wrote: If you put the -w flag in your shebang line like this

#!/usr/bin/perl -w

does it still throw an exception or do the warnings work?

>===== Original Message From stanley =====
>i use solaris and ihave no root right.the version of perl5.005_03
>
>in a simple script if i try to add "use warnings",it will say Can't locate 
warnings in @inc(@inc......)
>
>instead if i use perl -w my.pl,it will give me the warning information. so 
how can i modify my configuration or what modules should i download?
>
>thanks
>


---------------------------------
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com

Reply via email to