John W. Krahn wrote:
Karyn wrote:
Can someone else see why I am getting the following error, cause as
far as I can tell I have escaped all the ' single quotes.
ganymede# perl -i.bak1 -p -e
's/include(\'http:\/\/calarts.edu\/redcat\/nav.php\')\;/include(\'nav.php\&
Karyn wrote:
Can someone else see why I am getting the following error, cause as far
as I can tell I have escaped all the ' single quotes.
ganymede# perl -i.bak1 -p -e
's/include(\'http:\/\/calarts.edu\/redcat\/nav.php\')\;/include(\'nav.php\')\;/ig'
*.
Can someone else see why I am getting the following error, cause as far
as I can tell I have escaped all the ' single quotes.
ganymede# perl -i.bak1 -p -e
's/include(\'http:\/\/calarts.edu\/redcat\/nav.php\')\;/include(\'nav.php\')\;/ig'
*.php
Unmatched
El Monday 18 August 2008 16:56:13 Merdinus va escriure:
> The command that's causing this error is:
>
> my @refs = split('[', $references);
> I also tried >>> my @refs = split("[", $references); <<< (doublle
> quotes instead)
> and got the same error.
> If I change it to
>
> my @ref
On Aug 18, 7:56 pm, [EMAIL PROTECTED] (Merdinus) wrote:
> The command that's causing this error is:
>
> my @refs = split('[', $references);
> I also tried >>> my @refs = split("[", $references); <<< (doublle
> quotes instead)
> and got the same error.
> If I change it to
>
> my
On Aug 18, 7:56 pm, [EMAIL PROTECTED] (Merdinus) wrote:
> The command that's causing this error is:
>
> my @refs = split('[', $references);
> I also tried >>> my @refs = split("[", $references); <<< (doublle
> quotes instead)
> and got the same error.
> If I change it to
>
> my
Merdinus schreef:
> my @refs = split('[', $references);
> Unmatched [ in regex; marked by <--- HERE .
The first parameter to split is a regex. The "[" character is a
functional regex character.
You can write it as:
my @refs = split /\[/, $references
The command that's causing this error is:
my @refs = split('[', $references);
I also tried >>> my @refs = split("[", $references); <<< (doublle
quotes instead)
and got the same error.
If I change it to
my @refs = split("asdfsdfas", $references);
then I get no such error.
The