Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perl File-Test Operators

by ptum (Priest)
on Aug 11, 2006 at 02:18 UTC ( #566737=note: print w/replies, xml ) Need Help??


in reply to Perl File-Test Operators

You'll want to chomp the $logfile within your foreach.

Update: It wouldn't hurt you to use strict, either.

Another Update: You might consider using File::Find to select the log files you want.


No good deed goes unpunished. -- (attributed to) Oscar Wilde

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2018-11-17 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (204 votes). Check out past polls.

    Notices?