4 Einträge, 1 Seite |
print "foo"
$lang->print("foo", $currentUser->lang() )"
$_ =~ s/(print)\s*("\w+")/\$lang->$1($2, \$currentUser->lang() )/g;
1
2
3
4
5
my $string = 'print "foo"';
$string =~ s/(print)\s*("\w+")/\$lang->$1($2, \$currentUser->lang() )/g;
print $string;
1
2
3
4
5
$_ = q{print "foo"};
s/(print)\s*("\w+")/\$lang->$1($2, \$currentUser->lang() )/g;
print $_, $/;
__END__
$lang->print("foo", $currentUser->lang() )
4 Einträge, 1 Seite |