Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 If not, add them and investigate any errors or warnings

* You have a line in there: my $res2 = $ua->get("$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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-10-25 15:09 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (322 votes). Check out past polls.