Why, it is of course:
sub len{ return do { local(@ARGV, $/) = $_[0]; <> } =~ y===c; }
:P
Disclaimer: use -s $filename. This code is ineficient and ment as a timtoady
In reply to Re^3: Stopping empty files from been pushed into an array.
by FreeBeerReekingMonk
in thread Stopping empty files from been pushed into an array.
by ogbalex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |