Problems? Is your data what you think it is? | |
PerlMonks |
perl 5.005_03 woesby the_slycer (Chaplain) |
on Aug 07, 2003 at 17:57 UTC ( [id://281980]=perlquestion: print w/replies, xml ) | Need Help?? |
the_slycer has asked for the wisdom of the Perl Monks concerning the following question:
Ahhh.. it's nice to be back at the monestary, it's been too long since I've visited (must.. stop.. coding.. delphi). I have a piece of code like this It simply saves me having to write out a whack of if statements. (if this event call this subroutine), as well as allows me to quickly add handlers for various events. I like it, but, apparently perl 5.005_03 doesn't. I don't have control over where this script that I've written will run, and would like it to be as portable as possible. My question is this: Is there a way to replicate this behaviour for those that run perl 5.005_03? I'm hoping for a solution other than if statements, but if that's where I need to go, I will :(
Back to
Seekers of Perl Wisdom
|
|