http://www.perlmonks.org?node_id=58272


in reply to Re: Split - Not using arguments
in thread How do I use Split

Just tried that, now get "-- 1".
sub changedate { my $year=0; my $month=0; my $day=0; ($year, $month, $day) = split(/-/, @_, 3); return $day."-".$month."-".$year; }

It's something but it still aint right :)

Thanks, Alex