in reply to
subroutine referencing
The parser expects a bareword or a simple scalar for the method name. The idiomatic approach is to use a scalar dereference operation when dealing with more syntactically complex scalars e.g
print $image->${ \$ext{JPEG} };
[download]
HTH
_________
broquaint
Comment on
Re: subroutine referencing
Download
Code
Replies are listed 'Best First'.
Re: Re: subroutine referencing
by
imcsk8
(Pilgrim)
on Mar 09, 2004 at 18:15 UTC
i was thinking something like that but i still had my doubts. thanks!!
ignorance, the plague is everywhere
--guttermouth
[reply]
In Section
Seekers of Perl Wisdom