T
Thens
Abigail
perl -wle '(1 x $_) !~ /^(11+)\1+$/ && print while ++ $_'
This prints 1 which is not a prime !!
Regards,
Thens.
Abigail
perl -wle '(1 x $_) !~ /^(11+)\1+$/ && print while ++ $_'
[]
[] I wonder, why this reg. expression does not replace this:
[]
[] $line = "<title><!-- HTML_titel --></title>";
[] $html{'titel'} = "my Titel";
[] $line =~ s/<!-- HTML_([a-z]+) -->/$htmlref->{$1}/gix;
What's in $htmlref?
print &html_export( $template, \%html);
sub html_export {
$line = "<title><!-- HTML_titel --></title>";
my ($htmlref) = @_;
$line =~ s/<!-- HTML_([a-z]+) -->/$htmlref->{$1}/gix;
....
}
Hi there,
I wonder, why this reg. expression does not replace this:
$line = "<title><!-- HTML_titel --></title>";
$html{'titel'} = "my Titel";
$line =~ s/<!-- HTML_([a-z]+) -->/$htmlref->{$1}/gix;
This prints 1 which is not a prime !!
Hi there,
I wonder, why this reg. expression does not replace this:
$line = "<title><!-- HTML_titel --></title>";
$html{'titel'} = "my Titel";
$line =~ s/<!-- HTML_([a-z]+) -->/$htmlref->{$1}/gix;
Any ideas?
Regards
Bruno
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.