Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2018-07-23 14:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (469 votes). Check out past polls.

    Notices?