David Dyer-Bennet wrote:
if ($aif->{fpath} =~ /\/encyclopedia\/(.*)\/index\.html$/ ) {
print "foo $1";
Produces a segmentation fault.
See that print "foo $1" just after the regexp match in the if
statement? If you take the $1 out of the string, the segmentation
fault goes away!!!! So apparently I'm allowed to do the regexp match,
but not to know what the parenthesized bit actually matched. Bummer!
What happens if you do:
my $foo = "foo $1";
print $foo;Does that seg-fault too?
--mark
_______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
