Re: join operator for arrays question

2008-10-03 Thread Dr.Ruud
"John W. Krahn" schreef: > BTW $$_[0] is usually written as $_->[0]. I think it is a pity that O::Deparse() doesn't do this: $ perl -MO=Deparse -e '$$_[0] = 1' $$_[0] = 1; -e syntax OK $ perl -MO=Deparse -e '$_->[0] = 1' $$_[0] = 1; -e syntax OK -- Affijn, Ruud "Gewoon is een tijger." -- T

Re: join operator for arrays question

2008-10-02 Thread John W. Krahn
JAaronAnderson.com wrote: Ok, thanks guys for posting, I am posting from within my GoogleGroup Account. Ergo my comment... let's not be critical and get down to the code! the code I was asking about was :: map { $_ = $$_[0] } @userlist; I dont understand it fully but I got what I wanted to get

Re: join operator for arrays question

2008-10-02 Thread JAaronAnderson.com
Ok, thanks guys for posting, I am posting from within my GoogleGroup Account. Ergo my comment... let's not be critical and get down to the code! the code I was asking about was :: map { $_ = $$_[0] } @userlist; I dont understand it fully but I got what I wanted to get done with the following::.

Re: join operator for arrays question

2008-09-27 Thread Jeff Pang
> Message du 27/09/08 15:41 > De : "John W. Krahn" > A : "Perl Beginners" > Copie à : > Objet : Re: join operator for arrays question > > > JAaronAnderson.com wrote: > > =pod > > Hey fellow GoogleGroup Brothers & Sisters, > > I

Re: join operator for arrays question

2008-09-27 Thread John W. Krahn
JAaronAnderson.com wrote: =pod Hey fellow GoogleGroup Brothers & Sisters, I hate to disappoint you but this is not a "GoogleGroup", this is a mailing list controlled by perl.org. I am hoping to ask you all a quick Perl intermediate logic question… I have called an obj command which returns

Re: join operator for arrays question

2008-09-27 Thread Mr. Shawn H. Corey
On Fri, 2008-09-26 at 13:15 -0700, JAaronAnderson.com wrote: > my @userlist = $obj->command_ok(qw/user list/, "","",""); > # it then returns this info I think > # “emailHandle”, “User FullName” > # because it shows Array elements in memory > # foreach of them but not the mapped qw word list hm

join operator for arrays question

2008-09-27 Thread JAaronAnderson.com
=pod Hey fellow GoogleGroup Brothers & Sisters, I am hoping to ask you all a quick Perl intermediate logic question… I have called an obj command which returns what I think is a multi- dimensional array like so =cut my @userlist = $obj->command_ok(qw/user list/, "","",""); # it then returns this in