Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

earthboundmisfit's scratchpad

by earthboundmisfit (Chaplain)
on Jun 04, 2004 at 18:05 UTC ( #361059=scratchpad: print w/replies, xml ) Need Help??

my @errors = qw(arg1=1 arg2=2 arg3=3); my %errors; foreach my $error (@errors) { my @temp = split(/=/, $error); $errors{$temp[0]} = $temp[1]; } %errors2 = map {split /=/,2} @errors; # thanks, Chmrr
#! /the/world/is/my/oyster Perl

Kenning answers


Log In?

What's my password?
Create A New User
[stevieb]: agreed. That's why I said at least a half-dozen. If enough of the different formats are present, the date/time folk may not have to request more. If they do, then at least there was a decent base to start with
[stevieb]: I do date and time transformations in both Perl and Python, but not frequently enough to not have to search for the format params etc ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2017-04-29 02:42 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.