Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 wandering the Monastery: (11)
As of 2014-11-23 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls