in reply to Re^2: xml - empty nodein thread xml - empty node
length() isn't needed here
sure it is, it clarifies intent
Then this is even clearer. :)
if (length $artist > 0){ print "$artist | "; } else { print "0 | "; } [download]