djw has asked for the wisdom of the Perl Monks concerning the following question:
I have lines in an array that look like this:
1 time 02:11:05 djw
5 time 04:20:03 bert
2 time 00:01:39 chris
I would love to be able to get the initial # on the line
as a key value in a hash, and the name at the end as the
key. What is this the best way to handle this?
I'm stuck argh.
Thanks,
djw
1 time 02:11:05 djw
5 time 04:20:03 bert
2 time 00:01:39 chris
I would love to be able to get the initial # on the line
as a key value in a hash, and the name at the end as the
key. What is this the best way to handle this?
I'm stuck argh.
Thanks,
djw
Back to
Seekers of Perl Wisdom