Would be possible to have it without a loop, I need to make a small xml with these values like:
my $value = "<results> <name>$args->{name}</name> <address>$args->{address}</address> ... </results> ";
I was thinking about checking right at this first line:
my ($args) = @_;

Thanks!

In reply to Re^2: Subroutine question on use of uninitialized value. by Anonymous Monk
in thread Subroutine question on use of uninitialized value. by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":