Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Useless content call in void context

by jethro (Monsignor)
on May 09, 2012 at 10:19 UTC ( #969591=note: print w/ replies, xml ) Need Help??


in reply to Useless content call in void context

* I hope you have the lines "use warnings;" and "use strict;" in common.pl. If not, add them and investigate any errors or warnings

* You have a line in there: my $res2 = $ua->get("ftp://ftp.sec.gov/$file");. $file is never used before that. Also in the next line $res2 gets overwritten with another get() call, so this seems to be a line you simply forgot to remove


Comment on Re: Useless content call in void context
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969591]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-09-19 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls