in reply to $'name
I would suppose that the lexer in the perl parser is
intelligent enough to recognize the pattern for variables
of that sort. It could loosely be described as:
\$'([a-zA-Z_][a-zA-Z0-9_]*)?
Which could define a valid variable name.
Otherwise, how would you distinguish between $x and $xy? Or, $_ and $_x for that matter.
Otherwise, how would you distinguish between $x and $xy? Or, $_ and $_x for that matter.
|
---|
In Section
Seekers of Perl Wisdom