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 "$_ " 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 (except "<br>") - as expected.
> 
> I use apache 1.3.20, perl 5.6.1 and mod_perl 1.26.
> 
> I've never read about such predefined Arrays - what do they contain and
> why are they global?
> 
> Thanks in advance!
> 
> Best regards,
> 
> Christoph Bergmann
> 

-- 
-------------------------------------------------------------------------
Medi Montaseri                               [EMAIL PROTECTED]
Unix Distributed Systems Engineer            HTTP://www.CyberShell.com
CyberShell Engineering
-------------------------------------------------------------------------

Reply via email to