This code won't work on later versions of perl. split used to output the splitted data to @_ in v5.10 and earlier when called in scalar or void context. Starting with v5.12 (or maybe some subversion of v5.10, I didn't check that far) you'll have to write @_ = split /,/ explicitly, or even better, use another variable than @_ because of its special meaning in perl.
In reply to Re: Perl Monks, Newbie to perl, running this script below is not outputing any data, plforecast.txt is 0 bytes, any help will be great
by Eily
in thread Perl Monks, Newbie to perl, running this script below is not outputing any data, plforecast.txt is 0 bytes, any help will be great
by perlnobie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |