RE: scalar context question

2001-07-03 Thread Joseph P. Discenza
Ron Grabowski wrote, on Tuesday, July 03, 2001 1:26 PM : > > I don't think it would force a scalar context. => is just a shorthand : for comma in a list. In other words, $b in the following three : code segments : would get the same results: : : A comma that adds single quotes the value to its l

Re: scalar context question

2001-07-03 Thread Ron Grabowski
> > I don't think it would force a scalar context. => is just a shorthand for comma in a list. In other words, $b in the following three code segments would get the same results: A comma that adds single quotes the value to its left. ___ Perl-Win32-Us

Re: scalar context question

2001-07-03 Thread David Johnson
Thanks, excellent point. I slip and tend to think of the => operator as a sort of assignment. Appreciate your help. david "Shea, Linchi" wrote: > > I don't think it would force a scalar context. => is just a shorthand for comma in a >list. In other words, $b in the following three code segme