in reply to Re^2: Best way to compare two objects?
in thread Best way to compare two objects?
How are you storing your objects in a file? Sounds like it might be better to store the data as JSON or in some other file-friendly format, read it back and compare Perl data structures. For that, there are plenty of tools.
Also consider storing the response Last-Modified or Content-Length data and using a HEAD request on your check so you don't have to fetch the whole page each time to see if it's changed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Best way to compare two objects?
by nysus (Parson) on Mar 23, 2016 at 15:07 UTC |