Hi...
I wonder if there exists the predefined arrays @- and @+ in mod_perl.
The following lines:
print $_ foreach (@-);
print br;
print $_ foreach (@+);
print out:
10 10 11
11 11 11
This works _only_ when called via browser under mod_perl. Started from
the shell it prints out nothing
On Wed, 10 Oct 2001 20:17:19 +0200, Christoph Bergmann [EMAIL PROTECTED]
said:
CB Hi...
CB I wonder if there exists the predefined arrays @- and @+ in mod_perl.
CB The following lines:
CB [..skip..]
See 'perldoc perlvar'. AFAIK These arrays should be defined after any
successful regexp match
On Wed, Oct 10, 2001 at 08:17:19PM +0200, Christoph Bergmann wrote:
Hi...
I wonder if there exists the predefined arrays @- and @+ in mod_perl.
The following lines:
print $_ foreach (@-);
print br;
print $_ foreach (@+);
print out:
10 10 11
11 11 11
This works _only_ when
The identifier production in Perl is
[a-zA-Z_]\w+
So '-' and '+' are not valid symbols...
On Wed, 10 Oct 2001, Christoph Bergmann wrote:
Hi...
I wonder if there exists the predefined arrays @- and @+ in mod_perl.
The following lines:
print $_ foreach (@-);
print br;
print
On Wed, Oct 10, 2001 at 01:05:18PM -0700, Medi Montaseri wrote:
The identifier production in Perl is
[a-zA-Z_]\w+
So '-' and '+' are not valid symbols...
pp. 667-668, 3rd. Ed. Camel book
--jim
Ilya Martynov wrote:
On Wed, 10 Oct 2001 20:17:19 +0200, Christoph Bergmann [EMAIL PROTECTED]
said:
CB Hi...
CB I wonder if there exists the predefined arrays @- and @+ in mod_perl.
See 'perldoc perlvar'. AFAIK These arrays should be defined after any
successful regexp match (in new