P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
What message do you get in your server error log? What you show will work if used properly [Oops, not quite - Paladin++ caught a true error]. You're not showing exactly how you get $day or what happens if a value for an undefined key is read from the hash. With a numerical sequence of keys, an array may be more natural than a hash for that. One of the many time string utilities may be better yet. I like, That will honor locale, so anybody can run your script and get the day named in their own language. After Compline, In reply to Re: Help with an array Conversion
by Zaxo
|
|