anonamonk has asked for the wisdom of the Perl Monks concerning the following question:
is there anything obvious about this code which would cause a segmentation fault?
my $style_file = $$config{'dir'}."/"; $style_file .= 'main/'.$$config{'style'}.".xsl";
$$conf{'dir'} and $conf{'style'} are initialized and concatenated without a problem; the error occurs when I add remove the '/' after 'main'
Hoping for a fresh set of eyes. Thanks...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Segmentation fault on concat
by dave_the_m (Monsignor) on Nov 18, 2004 at 01:06 UTC | |
by pg (Canon) on Nov 18, 2004 at 02:22 UTC | |
by gaal (Parson) on Nov 18, 2004 at 04:50 UTC | |
by dave_the_m (Monsignor) on Nov 18, 2004 at 11:36 UTC | |
by Cody Pendant (Prior) on Nov 18, 2004 at 03:01 UTC | |
by dave_the_m (Monsignor) on Nov 18, 2004 at 11:40 UTC | |
|
Re: Segmentation fault on concat
by graff (Chancellor) on Nov 18, 2004 at 01:44 UTC |