Perl/Shell Knowledge Sharing
Perl Interview Questions and Answers
Tuesday, January 25, 2011
grep files name only, not directory or else
@files = grep { -f and -T } glob '* .*';
$" = "\n";
print "@files\n";
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment