in reply to Very quick question about names in perl
Package variables can consist of anything, as long as you write them in the form: ${"..."}. Otherwise, they have to start with letters or underscore (just like lexicals), *or* consist of a single punctuation character, *or* consist of numbers only. That is, $117 is a legal variable (but it's read-only), @117 is legal, but $17foo is not.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Very quick question about names in perl
by dakedesu (Scribe) on Dec 15, 2003 at 13:11 UTC | |
by tbone1 (Monsignor) on Dec 15, 2003 at 13:39 UTC | |
by dakedesu (Scribe) on Dec 15, 2003 at 13:51 UTC | |
by Abigail-II (Bishop) on Dec 15, 2003 at 13:16 UTC | |
|
Re: Re: Very quick question about names in perl
by tilly (Archbishop) on Dec 15, 2003 at 16:34 UTC | |
by Abigail-II (Bishop) on Dec 15, 2003 at 16:44 UTC | |
by tilly (Archbishop) on Dec 15, 2003 at 17:23 UTC | |
by bart (Canon) on Dec 15, 2003 at 19:31 UTC | |
by Abigail-II (Bishop) on Dec 15, 2003 at 19:59 UTC |