On Fri, Oct 26, 2001 at 07:13:58PM +1000, Damian Conway wrote: > > > my %args=( > > > action => ($args->{'-d'} || $args->{'-delete'})?'delete':'add', > > > md5 => ($args->{'-md5'})?1:0, > > > url => $args->{'-d'} || $args->{'-delete'} || $args->{'<url>'} > > > ); > > I tried that, but I end up with $args{url} being '-d' or '-delete' instead > > of the value following it: > What version are you running?
1.08. [goes to CPAN - ooh, 1.09 ... downloads] 1.09 does the same. -- David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david Perl may be the best solution for processing a text file, but asking a group of Perl Mongers clearly isn't -- aef, in #london.pm