develooper Front page | perl.perl5.porters | Postings from August 2001

Re: Backwards compatibility breakage in foreach?

Thread Previous | Thread Next
Jeff 'japhy/Marillion' Pinyan
August 21, 2001 11:11
Re: Backwards compatibility breakage in foreach?
Message ID:
On Aug 21, Graham Barr said:

>You will find the answer to your question in perldelta.pod for 5.6.0
>  =head2 Improved C<qw//> operator
>This change meant that the list created by qw() is now a list of

It also means you (specifically, Michel Rodriguez ;) ) can write code like

  for qw( a b c ) {
    # ...

and it will work.  Quirky, eh?

Jeff "japhy" Pinyan
RPI Acacia brother #734
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About