in reply to Re: Beginning to see the light....
in thread Beginning to see the light....

guys, didn't you forget about:print join("\n", @test);?

and unless you're using the return values of map you shouldn't use it


He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/

Replies are listed 'Best First'.
Re: Re: Re: Beginning to see the light....
by myocom (Deacon) on Jul 12, 2001 at 18:49 UTC

    Not at all. When using debug prints, I use map and join with equal frequency (depending on my mood and probably depending on surrounding code).

    Also note that I am using the return values of map in my print statement. I wrote print map("$_\n",@test);. If I had written map(print("$_\n"),@test); that would've been map in void context.