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); return $self->{_error_excerpt};
But the problem with this code is it do not print anything when there is no error excerpt.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Question on XML output using Perl
by Khen1950fx (Canon) on Mar 16, 2010 at 16:34 UTC |