in reply to Re: Split - Not using arguments
in thread How do I use Split
Just tried that, now get "-- 1".
It's something but it still aint right :)
Thanks, Alex
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
In Section
Seekers of Perl Wisdom