N
nimrodna
1. , I'm having problem with balanced parenthesis. I found this code in
the net:
my $paren = qr/\(([^()]+|(??{ $paren }))*\)/x;
This code supposes to handle my problem.
I'm working with perl 5.8, and it won't compile.
The error message is: "Global symbol "$paren" requires explicit package
name at (re_eval 1) line 2.".
2. How can I Use constants and variables inside a substitute operator
(s///).
3. Manipulate matched chars. When matched a number I need to add the
same value to each matched chararcter.
the net:
my $paren = qr/\(([^()]+|(??{ $paren }))*\)/x;
This code supposes to handle my problem.
I'm working with perl 5.8, and it won't compile.
The error message is: "Global symbol "$paren" requires explicit package
name at (re_eval 1) line 2.".
2. How can I Use constants and variables inside a substitute operator
(s///).
3. Manipulate matched chars. When matched a number I need to add the
same value to each matched chararcter.