in reply to Re^4: s/// not replacing data
in thread s/// not replacing data
Or you could assemble an array outside the foreach loop something like:
Then inside your foreach, instead of the while/fetch, you'd have something like:my @emoticons; push @emoticons, [$id, $name, $location, $face] while $sth->fetch;
foreach my $emote_aref (@emoticons) { ($id, $name, $location, $face) = @$emote_aref; ...
|
|---|