Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: (jeffa) 2Re: Converting output from numeric values to text

by PrakashK (Pilgrim)
on Mar 29, 2002 at 04:59 UTC ( #155202=note: print w/ replies, xml ) Need Help??


in reply to (jeffa) 2Re: Converting output from numeric values to text
in thread Converting output from numeric values to text

I don't think your code produces what the original poster OnTheEdge wanted. Yours would result in a hash with the month names as keys and 1 as values for each.

He wants to convert month numbers into month names.

$m_name = qw(jan feb mar apr may jun jul aug sep oct nov dec)[$m_numbe +r];
/prakash


Comment on Re: (jeffa) 2Re: Converting output from numeric values to text
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2015-07-31 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (275 votes), past polls