imcsk8 has asked for the wisdom of the Perl Monks concerning the following question:
but there is something that i don't understand; why when i use $image->$ext{'JPEG'} does not work???my %ext = ('jpg' => 'jpeg', 'jpeg' => 'jpeg', 'png' => png', 'JPEG' => 'jpeg', ,'JPG' => 'jpeg', 'PNG' => 'png'); .... my $aux = $ext{'JPEG'}; print $image->$aux(); ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: subroutine referencing
by broquaint (Abbot) on Mar 09, 2004 at 18:04 UTC | |
by imcsk8 (Pilgrim) on Mar 09, 2004 at 18:15 UTC | |
|
Re: subroutine referencing
by dragonchild (Archbishop) on Mar 09, 2004 at 19:20 UTC | |
by imcsk8 (Pilgrim) on Mar 09, 2004 at 19:29 UTC | |
|
Re: subroutine referencing
by cyocum (Curate) on Mar 10, 2004 at 13:15 UTC | |
by dragonchild (Archbishop) on Mar 10, 2004 at 13:30 UTC |