You're not running with warnings turned on are you? If you had been you would have got the message
print (...) interpreted as function at ./foo.pl line x. Useless use of a constant in void context at ./foo.pl line x.
Which pretty much explains what's going on.
You should always ask Perl for as much help as possible when tracking down bugs.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: split question
by davorg
in thread split question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |