in reply to Re^3: Question on XML output using Perl
in thread Question on XML output using Perl

If I keep a code like this then I gets error_escrpt where ever it is defined ....I am getting the value from the database...the code is as follows:

$self->{_error_excerpt} = $error_excerpt if defined($error_excerpt); r +eturn $self->{_error_excerpt};

But the problem with this code is it do not print anything when there is no error excerpt.