Just another Perl shrine | |
PerlMonks |
Substituting '--' for Nullsby johnirl (Monk) |
on Aug 13, 2002 at 09:59 UTC ( [id://189730]=perlquestion: print w/replies, xml ) | Need Help?? |
johnirl has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks I am currently working on a program that retrieves results from a database. However when my program retrieves a null result, instead of printing a dash ('-') as I would like it to, it prints the error "Use of uninitialized value". My question is how do I print out a dash each place there is a null?
j o h n i r l . Sum day soon I'Il lern how 2 spelI (nad tYpe)
Back to
Seekers of Perl Wisdom
|
|