Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Problem in mirror method

by Anonymous Monk
on May 26, 2016 at 08:00 UTC ( [id://1164169]=note: print w/replies, xml ) Need Help??


in reply to Problem in mirror method

Here is a demonstration of what the others are talking about

use WWW::Mechanize; my $ua = WWW::Mechanize->new( autocheck => 1 ); $ua->show_progress(1); $ua->mirror( q{http://example.com/} , q{} ); __END__ ** GET http://example.com/ ==> 200 OK Cannot rename '-4056' to '': No such file or directory

the empty string is not a valid filename

Replies are listed 'Best First'.
Re^2: Problem in mirror method
by perlmad (Sexton) on May 26, 2016 at 10:47 UTC

    Yeah it's working fine thanks Anonymous Monk

    but I need exact output if the page is updated then the program should return "modified" otherwise "not modified"

    Any Suggestion...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-26 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found