CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [demisheep] Trying to stem having issue with array: Edit Log



Zhris
Enthusiast

Jul 19, 2012, 12:13 PM


Views: 2253
Re: [demisheep] Trying to stem having issue with array

Hi,

'ARRAY(0xc99b3c)' is Perl's way of converting a references into a string. You will need to de-reference it in order to use it in an array context:


Code
{ 
local $" = "\n"; # optional array interpolation separator.
print "@$stemmed_words_anon_array";
}


Chris


(This post was edited by Zhris on Jul 19, 2012, 12:16 PM)


Edit Log:
Post edited by Zhris (Enthusiast) on Jul 19, 2012, 12:15 PM
Post edited by Zhris (Enthusiast) on Jul 19, 2012, 12:16 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives