Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Perl script

by marto (Cardinal)
on Feb 07, 2017 at 10:41 UTC ( [id://1181277]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl script
in thread Perl script

OP is not trying to compare the size of two XML files, but the value of dataSize within two XML files. While it doesn't address this problem your example should also check that the files exist before allocating a size to them, e.g. my $filesize2 = 0;.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-25 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found