in reply to subroutine referencing
my %ext = ( ... ); ... my $method = $ext{'JPEG'}; print $image->$method; ...
That makes it clearer what the point of the variable is - it's a method name.
------
We are the carpenters and bricklayers of the Information Age.
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: subroutine referencing
by imcsk8 (Pilgrim) on Mar 09, 2004 at 19:29 UTC |