in reply to Distinguishing variables from surrounding text
Erm, I don't see why you say that using brackets to disambiguate isn't `clean', since that's what it's for (see perldoc perldata, Scalar value constructors). I mean if you really want unclean, use @{[ $foo ]} (but that's just ugly for ugly's sake; not to mention doing strange things to tied vars which pay attention to context).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Distinguishing variables from surrounding text
by knobunc (Pilgrim) on Feb 13, 2003 at 17:41 UTC | |
by John M. Dlugosz (Monsignor) on Feb 13, 2003 at 18:06 UTC |