in reply to Re: using quotes in hash keys
in thread using quotes in hash keys
A "safe string" is composed of one or more alphanumeric characters, with underscore also available, but the first character has to be a letter or a dash. You could define this as a regular expression: /\-?A-Za-z_A-Za-z0-9_*/.What about letters outside the ASCII range? Perl allows Unicode letters as variable names, for example. Do barewords here get the same treatment? $α{niņa}=5;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: using quotes in hash keys
by tadman (Prior) on Jul 08, 2001 at 18:30 UTC | |
by John M. Dlugosz (Monsignor) on Jul 08, 2001 at 21:19 UTC |