Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 exploiting the Monastery: (12)
As of 2014-12-23 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (135 votes), past polls