Scott Taylor wrote:
if ($x->{VEHICLE}->{STREETNUM}){ print ... }
else { print ""; }

but even that doesn't work.

Cheers.

--
Scott


What do you mean when you say it doesn't work? Are you getting something like this?

Use of uninitialized value in concatenation (.) or string ...

If so, try:

if( defined( $x->{VEHICLE}{STREETNUM} )){
  print "... ";
}
# You don't need to print ""

--

Just my 0.00000002 million dollars worth,
   --- Shawn

"Probability is now one. Any problems that are left are your own."
   SS Heart of Gold, _The Hitchhiker's Guide to the Galaxy_

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to