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

Re^5: Problem in mirror method

by ablanke (Prior)
on May 26, 2016 at 07:32 UTC ( #1164168=note: print w/replies, xml ) Need Help??


in reply to Re^4: Problem in mirror method
in thread Problem in mirror method

...and it prints 'link updated...' like it should, right?

You call the mirror method from the Module LWP::UserAgent.pm/WWW::Mechanize:

Take a look what happens to the $file parameter:
sub mirror { my($self, $url, $file) = @_; my $tmpfile = "$file-$$"; rename( $tmpfile, $file ) or die "Cannot rename '$tmpfile' to '$fi +le': $!\n";
There have to be an empty string somewhere.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2023-12-03 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (20 votes). Check out past polls.

    Notices?