in reply to how to make wildcard work in if (-e *..)
print "Found textfile!" if <$dir/*.txt>
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•BEWARE broken code: Re: Re: how to make wildcard work in if (-e *..)
by merlyn (Sage) on May 16, 2002 at 20:44 UTC |