develooper Front page | perl.perl5.porters | Postings from March 2016

Argh, correction [Re: [perl #127640]]

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
March 5, 2016 22:07
Subject:
Argh, correction [Re: [perl #127640]]
Message ID:
20160305220716.GA79781@plasmasturm.org
* Aristotle Pagaltzis <pagaltzis@gmx.de> [2016-03-05 23:00]:
> * Father Chrysostomos via RT <perlbug-followup@perl.org> [2016-03-05 20:10]:
> > On Sat Mar 05 10:14:48 2016, perl.p5p@rjbs.manxome.org wrote:
> > > $x = "good job";
> > > @y = qqw( $x hunter );
> > >
> > > Is @y now ('good', 'job', 'hunter') or ('good job', 'hunter')?
> > > I would think the latter.
> >
> > I would have assumed the former. So I suppose it’s not obvious. BTW,
> > this does the former:
> >
> >   $x = "good job";
> >   @y = < $x hunter >;
>
> I prefer the former. So much so, in fact, that I don’t see any point in
> the feature if it does the latter.

(I meant that I prefer the *latter* – as the rest of the message should
make clear – and that I see the *former* as pointless.)

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About