Rob Dixon wrote:
David Newman wrote:

foreach my $union (@union) {
        print "$union";
}

You shouldn't put $union in quotes, and the loop is better written as

  print for @union;

  print @union;

Should work just as well.



John
--
Those people who think they know everything are a great
annoyance to those of us who do.        -- Isaac Asimov

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to