in reply to Re: quoting style for lists
in thread quoting style for lists
If a string looks like a valid identifier it doesn't have to be quoted if it's either used as a hash key, or on the left side of a fat arrow (=>).
Isn't a string on the left side of a fat arrow a hash key? Or is there a subtle difference that I'm missing...
You are very mistaken. You are confusing syntax with semantics. qw returns a list of strings.
Forgive me, but this is still confusing to me. My understanding is that qw accepts whitespace-separated "words" and returns a list of quoted "words". I'm not sure how this differs from what you just wrote.
Thanks for everyone's input on this,
Erik
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: quoting style for lists
by Abigail-II (Bishop) on Aug 01, 2002 at 17:36 UTC | |
by runrig (Abbot) on Aug 01, 2002 at 19:53 UTC | |
|
Re: Re: Re: quoting style for lists
by chromatic (Archbishop) on Aug 01, 2002 at 17:37 UTC | |
by mirod (Canon) on Aug 01, 2002 at 17:59 UTC | |
|
Re: quoting style for lists
by crenz (Priest) on Aug 01, 2002 at 17:51 UTC | |
by erikprice (Initiate) on Aug 02, 2002 at 15:44 UTC |