Perl: забавная фича glob ()
24 February, 13:17, machine translated from Polish
$ touch f{1,2,3,4}
$ perl -e 'for (qw(f1 f2 f3 f4)) { printf "$_: %s\n", glob($_) ? "found" : "not found" }'
f1: found
f2: not found
f3: found
f4: not found
Worldwide Perl Blogging
Totally
311 feeds,
9627 posts.
24 February, 13:17, machine translated from Polish
$ touch f{1,2,3,4}
$ perl -e 'for (qw(f1 f2 f3 f4)) { printf "$_: %s\n", glob($_) ? "found" : "not found" }'
f1: found
f2: not found
f3: found
f4: not found
Perl Alchemy - notes of a Catalyst programmer
28 November, 10:08, by zby, machine translated from Polish
Perl Alchemy - notes of a Catalyst programmer
29 September, 07:03, by zby, machine translated from Polish