This code produces the following 3 lines: foreach $twords(@topTypes) { $output.="<p>".commify_series(@$twords)."</p>"; }
Type 7 and Type 8 Type 9, Type 5, and Type 4 Type 2 I only want the first line. But when I try: $output.="<p>".commify_series($topTypes[0])."</p>"; $output .= <<HTML; It produces: ARRAY(0x9045bf0) If I try adding the @: $output.="<p>".commify_series(@$topTypes[0])."</ p>"; There's no output. How do I just get the first line? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/