in reply to Re: Re: Re: Re: use strict won't require explicit name for all variables?
in thread use strict won't require explicit name for all variables?
As should $1 up. That would place all of the variables that have special meaning in one place and would reduce the possibility of this type of error. (Well assuming RTFM ;-)
I will send a perlbug report out today on this issue. Maybe itll be factored into 5.8?
UPDATE: DOH! $1 and the regex vars _are_ documented under perlvar. By bad.
UPDATE: A documentation enhancement request has been sent to the perlbug people...
Yves / DeMerphq
--
When to use Prototypes?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (re:x5 use strict....)$a and $b should be in perlvar
by little (Curate) on Feb 28, 2002 at 12:21 UTC | |
by demerphq (Chancellor) on Feb 28, 2002 at 12:35 UTC | |
by clintp (Curate) on Feb 28, 2002 at 12:54 UTC | |
by demerphq (Chancellor) on Feb 28, 2002 at 13:45 UTC | |
by clintp (Curate) on Feb 28, 2002 at 15:43 UTC | |
| |
by little (Curate) on Feb 28, 2002 at 12:47 UTC | |
by demerphq (Chancellor) on Feb 28, 2002 at 13:37 UTC |