Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Comparedirs.pl

by RayRay459 (Pilgrim)
on Feb 13, 2002 at 21:32 UTC ( [id://145293]=note: print w/replies, xml ) Need Help??


in reply to Re: Comparedirs.pl
in thread Comparedirs.pl

Thank you very much for your advice. It is very much appreciated. The reason i posted my code was to make it better and learn. I will make the change by adding the if statement, when stat'ing the file, to get rid of return values of the failed stat. The code was ment to compare directory content, not file content. if it matched in size and modtime, thats all i was looking for. do you think thats wrong. please let me know.
thanks again
Ray

Replies are listed 'Best First'.
Re: Re: Re: Comparedirs.pl
by rob_au (Abbot) on Feb 14, 2002 at 02:16 UTC
    Please don't get me wrong at all Ray - My comments were intended to give you feedback and encourage you on the code, not discourage you at all. If the program does what you want it to do and you are happy with it, ignore everyone else and be happy that you were able to solve a problem with your knowledge of Perl.

    Good luck! :-)

     

    perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-03-28 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found