Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

q(),qq(),qw(),qx()...AARGH!

by Madams (Monk)
on Mar 17, 2001 at 06:05 UTC ( #65099=note: print w/ replies, xml ) Need Help??


in reply to TIMTOWTDI -- so long as it's not my way

#/usr/bin/perl -w use strict; #much other stuff.... #initializations etc.... foreach $file (@list_of_filenames){ open(THISFILE,'< $file') or warn "ERROR: Can't open $file!\n";#for + this application fail to open is not fatal.. binmode(THISFILE); $data = Digest::MD5->new->addfile(*THISFILE)->hexdigest; return unless ($data); #...process $data..... }
Gee, why does every file have the same digest?....
Maybe because open tries to open a file NAMED: " < $file " ?
I keep tripping on the q() vs qq() vs qw() vs qx()
differences....

_________________
madams@scc.net
(__) (\/) /-------\/ / | 666 || * ||----||


Comment on q(),qq(),qw(),qx()...AARGH!
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2014-07-28 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (206 votes), past polls