Francesco Scaglioni wrote at Tue, 24 Sep 2002 13:40:40 +0200:
> I have one problem ( actually I'm sure I have many but haven't
> realised it yet ) that I'm stuck on.
>
> the following line ( and several others like it ) produce the
> following error :
>
> ( my $mollusc ) = ( param( 'mollusc ) =~ /^(\w+)$/i );
^^^
There misses a ' quote.
(Don't retype code, put & paste instead).
> causes:
> "Use of inititialized value in pattern match (m//) "
The parameter seems to be undefined.
> Do I have to pre-declare the /^(\w+)$/i bit or where am I going wrong
> ( it all works but I am trying to prevent entries in the error log.
Greetings,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]