$_ = "." if $_ eq "";
$0 = "$_/$0" , goto doit if -f "$_/$0";
}
- die "`$0' not found.\n";
+ die "'$0' not found.\n";
}
doit: exec "perl", "-x", $0, @ARGV;
die "Failed to exec '$0': $!";
### backslash escapes
my $nc = peek($pat,$ic);
if( $nc eq '' ){
- Warn( "`\\' cannot be last in pattern", $fl );
+ Warn( "'\\' cannot be last in pattern", $fl );
return undef();
}
$ic++;
### backslash escapes
my $nc = peek($subst,$ic);
if( $nc eq '' ){
- Warn( "`\\' cannot be last in substitution", $fl );
+ Warn( "'\\' cannot be last in substitution", $fl );
return undef();
}
$ic++;
} elsif( $tabref->[1] eq 'sub' ){
# s///
if( ! length( $cmd ) ){
- Warn( "`s' command requires argument", $fl );
+ Warn( "'s' command requires argument", $fl );
$error++;
next;
}
$Code .= "# $Commands[$icom]\n" if $doGenerate;
}
if( ! length( $cmd ) ){
- Warn( "`y' command requires argument", $fl );
+ Warn( "'y' command requires argument", $fl );
$error++;
next;
}
my $d = substr( $cmd, 0, 1 ); $cmd = substr( $cmd, 1 );
if( $d eq '\\' ){
- Warn( "`\\' not valid as delimiter in 'y' command", $fl );
+ Warn( "'\\' not valid as delimiter in 'y' command", $fl );
$error++;
next;
}