See. perlop for more info on the .= operator.while($parser->get_tag){ ## Note the . before = and the use of . instead of , $stripped_html[0] .= $parser->get_trimmed_text() . "\n"; } print $stripped_html[0];
_________
broquaint
In reply to Re: My array element won't print outside a loop
by broquaint
in thread My array element won't print outside a loop
by lampros21_7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |