fastkeys has asked for the wisdom of the Perl Monks concerning the following question:
sub changedate { my $year=0; my $month=0; my $day=0; ($year, $month, $day) = split(/-/, $_, 3); return $day."-".$month."-".$year; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Split
by btrott (Parson) on Feb 14, 2001 at 04:55 UTC | |
|
Re: Split
by dws (Chancellor) on Feb 14, 2001 at 06:00 UTC | |
|
Re: Split - Not using arguments
by lemming (Priest) on Feb 14, 2001 at 04:54 UTC | |
by mikfire (Deacon) on Feb 14, 2001 at 09:40 UTC | |
|
Re: Split
by MeowChow (Vicar) on Feb 14, 2001 at 17:21 UTC | |
|
(dkubb) Re: (2) Split
by dkubb (Deacon) on Feb 14, 2001 at 11:18 UTC | |
by sierrathedog04 (Hermit) on Feb 14, 2001 at 15:30 UTC | |
by mikfire (Deacon) on Feb 14, 2001 at 19:57 UTC |