RE: Taint mode trouble

2004-02-14 Thread Jan Eden
Charles K. Clarkson wrote: > Try: > >$q->param('jahr', ); >my ($jahr) = $q->param('jahr') =~ /\d{4}/; >print $jahr; > >-- >prints: >1 >-- > >Now try it this way: > >$q->param('jahr', ); >( my $jahr = $q->param('jahr') ) =~ /\d{4}/; >print $jahr; > >-- >prints: > Wait a second

Re: Taint mode trouble

2004-02-14 Thread Jan Eden
Jan Eden wrote: >Hi all, > >I finally decided to use the taint mode in all my CGI scripts. But I >experience a strange problem. The following two lines read a file >depending on the parameter 'jahr': > >my ($jahr) = $q->param('jahr'); my %monate = %{do $jahr} or die $!; > >This worked. Now, with

Taint mode trouble

2004-02-14 Thread Jan Eden
Hi all, I finally decided to use the taint mode in all my CGI scripts. But I experience a strange problem. The following two lines read a file depending on the parameter 'jahr': my ($jahr) = $q->param('jahr'); my %monate = %{do $jahr} or die $!; This worked. Now, with the -T switch, I have to u