Because as it stood $parameters was being assigned compression=>'none' as your code really looked like thismy @parameters = (colorspace = >'gray', compression = >'none');
See. perlop for more info on the workings of qw().my $parameters = (q[colorspace=>'gray'], q[compression=>'none']);
_________
broquaint
In reply to Re: dynamic methods with variables
by broquaint
in thread dynamic methods with variables
by jorg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |