Hi,
I'm trying to dynamically call a subroutine, only i get an error when using
Saying not while strict is on, if I turn strict off, the command runs as desired.
Is there any other way of dynamically calling a sub while using strict?
Thanks,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts
I'm trying to dynamically call a subroutine, only i get an error when using
Code:
&{'page'.$id.'_data'}();
Saying not while strict is on, if I turn strict off, the command runs as desired.
Is there any other way of dynamically calling a sub while using strict?
Thanks,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts