Problems? Is your data what you think it is? | |
PerlMonks |
Why does my subroutine not receive the scalar parameter as $_?by @ncientgoose (Novice) |
on Aug 25, 2002 at 22:01 UTC ( [id://192722]=perlquestion: print w/replies, xml ) | Need Help?? |
@ncientgoose has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (subroutines)
The problem is I am clearly passing a scalar var to this sub and it is getting a null list. I have tested this thoroughly. Why might it do this? The sub code is in a .pm package, but everything is clearly defined. I have similar subs and calls that work fine!
Here is my call where $form_data{'judeo_date'} is a date like "25-AUG-2002-AD": and Thanks, Chris P.S. in case your wondering, this sub translates Judeo dates into Mayan long count calendar dates. Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|