I'm getting crazy with this one

the fact of or not the prototype in the xpto function, I get this
warning: 'Use of implicit split to @_ is deprecated at script.pl line
5.'

use strict;
use warnings;

sub xpto($) {};
xpto( split(/\n/, "fv\nfg" ) );


How do I go around this without creating more lines of code?


Note: I didn't do the prototype subroutine

Best Regards
Marcos Rebelo

-- 
Marcos Rebelo
http://oleber.freehostia.com
Milan Perl Mongers leader http://milan.pm.org
Webmaster of http://sites.google.com/site/oleberperlrecipes/

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to