in reply to Recognizing File Name Patterns in an Angle Operator in a While Loop Condition
Use an explicit glob:
while ( glob "/export/home/usps_edi/*pl" ) { -f $_ && print "ok\n";}'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Recognizing File Name Patterns in an Angle Operator in a While Loop Condition
by johnarky (Initiate) on May 21, 2012 at 18:59 UTC |
In Section
Seekers of Perl Wisdom