Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Query anout module loading

by graff (Chancellor)
on Apr 28, 2012 at 18:41 UTC ( #967852=note: print w/replies, xml ) Need Help??

in reply to Query anout module loading

The plan looks okay to me too, except I wonder why you aren't using the "md5" (or "md5sum") command instead of "cksum". Is comparability of output across systems not an issue in your case?

(If you wanted to know whether files on two different systems had identical content, you'd want the md5 sum from both files; having cksum output from one and md5 output from the other isn't informative in any way.)

Replies are listed 'Best First'.
Re^2: Query anout module loading
by firearm12 (Novice) on Apr 28, 2012 at 19:34 UTC
    No, actually md5sum command is not available on all the hosts, so I cant use that. I am comparing a file's checksum against a previously stored list (that contains both md5sum and cksum of the file). So, using md5sum for those servers that have it and cksum for those who dont have md5.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967852]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2018-04-20 09:13 GMT
Find Nodes?
    Voting Booth?