Re: qw(l i s t) vs (l, i, s, t)

Stefan Stiasny <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Organization Legion of Dynamic Discord
Message-ID <[email protected]>
hi

> Could someone please explain what is happening here?
> I came across it, and had a hard time trying to figure out what was 
> going on.
in 5.6.1 it seems to work the correct way, i.e. the first two examples
aren't true, while the third and fourth evaluate as true. maybe something
was changed in the behaviour of qw, it seems that it in scalar context,
it behaves like an array, not like a constant list with the comma 
operator ...

anyway, it sounds more like a bug report thant fwp
sc

-- 
stefan stiasny <[email protected]> 
In an evolving universe, who stands still moves backwards.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.