You have a precedence problem. Quoth B::Deparse your code parses as: print(((('number of files: ' . $size) - 2) . "\n"));. print takes a list so you should use a comma rather than the concatenation operator ..
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: why scalar(@array) is not numeric?
by Fletch
in thread why scalar(@array) is not numeric?
by theiss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |