Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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

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

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 cooling their heels in the Monastery: (7)
As of 2015-11-25 16:23 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (682 votes), past polls