Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Split

by dws (Chancellor)
on Feb 14, 2001 at 06:00 UTC ( #58281=note: print w/replies, xml ) Need Help??


in reply to How do I use Split

Or, without split:
sub changedate { my $date = shift; $date =~ s/^(\d{4})-(\d{2})-(\d{2})$/$3-$2-$1/; return $date; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://58281]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2020-06-01 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?