Hi,
I have a superclass where I have added a
I then extend to a subclass, but when I try to use encode in the subclass I get an error that the routine is undefined?
I've tried the following syntax's
What am I doing wrong?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that 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!"
Free Electronic Dance Music
I have a superclass where I have added a
Code:
use Decode qw(encode decode);
I then extend to a subclass, but when I try to use encode in the subclass I get an error that the routine is undefined?
I've tried the following syntax's
Code:
encode('UTF8',$my_string);
SUPERCLASS_PACKAGE_NAME::encode('UTF8',$my_string);
SUPERCLASS_PACKAGE_NAME->encode('UTF8',$my_string);
What am I doing wrong?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that 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!"
Free Electronic Dance Music