Given only your code and your description that the print statement works, that does seem quite strange. Have you stepped through the code in the debugger? Can you reduce your code down to an example that reproduces the problem that you can post here for others to run?
(By the way, DateTime::Format::Strptime can handle what your sub foo is doing.)
In reply to Re: hashref return fails
by Anonymous Monk
in thread hashref return fails
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |