Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 examining the Monastery: (8)
As of 2014-09-20 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls