in reply to Re: Difference between 'use warnings' and '-w' switch
in thread Difference between 'use warnings' and '-w' switch

Thanks - actually the line in my version (2.70) is:

$ftp->_ALLO(-s _) if -f $loc;

And since there is no code to initialise $loc before this line, it will always produce a warning. It looks like this has been fixed in later versions (I checked 2.75 from CPAN) - it has been changed to the line you describe (note $local not $loc).

Thanks.


s^^unp(;75N=&9I<V@`ack(u,^;s|\(.+\`|"$`$'\"$&\"\)"|ee;/m.+h/&&print$&