in reply to Re: Re: quoting style for lists
in thread quoting style for lists
As for qw, it is a quoting construct, like q, qq, etc. It's "argument" (which doesn't include the delimiters - the delimiters are eaten by the parser) is treated as a string and split on whitespace. What results is a list of strings.$, = " "; print I => do => not => think => so => "\n"; __END__ I do not think so
Note that as soon as the parser consumed it, the delimiters are gone, and they never return. Delimiters are there just there to tell the parser, "start here" and "stop here". It doesn't make sense for qw to return "quoted words", just like it doesn't make sense to let qw return yellow.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: quoting style for lists
by runrig (Abbot) on Aug 01, 2002 at 19:53 UTC |