T
thorsten schau
Hi,
I wonder why the 'yes' print does not go thru.
if($line =~ /\$\{general-foo\s+(\S+)([^}]*)\}/ {
my $thewhole = $&;
print"thewhole: $thewhole\n";
print"yes\n" if $line =~ m/$thewhole/;
}
$& and $thwhole has exactly the matched string from $line.
any idea?
thanls
I wonder why the 'yes' print does not go thru.
if($line =~ /\$\{general-foo\s+(\S+)([^}]*)\}/ {
my $thewhole = $&;
print"thewhole: $thewhole\n";
print"yes\n" if $line =~ m/$thewhole/;
}
$& and $thwhole has exactly the matched string from $line.
any idea?
thanls