On Sat, Apr 16, 2005 at 10:16:43PM +0300, Roie Marianer wrote:
: On Saturday 16 April 2005 10:10 pm, Larry Wall wrote:
: > So
: > this is a syntax error (of the runaway "" variety, presumably):
: >
: > " @foo::bar::baz::fee::fie::foe[ "
: I was with you until that. What about
: " @foo::bar::ba
On Saturday 16 April 2005 10:10 pm, Larry Wall wrote:
> So
> this is a syntax error (of the runaway "" variety, presumably):
>
> " @foo::bar::baz::fee::fie::foe[ "
I was with you until that. What about
" @foo::bar::baz::fee::fie::foe[ "1" ] "
Isn't that a valid index into the array? Or is that
On Sat, Apr 16, 2005 at 11:30:49AM -0700, Larry Wall wrote:
: The basic rule of thumb is that we pretend we're a top-down parser
: even if we aren't, and we only look for the trailing delimiter when
: we're not trying to parse something embedded that would naturally
: slurp up the trailing delimite
On Sat, Apr 16, 2005 at 06:28:37PM +0300, Roie Marianer wrote:
: Hi all.
:
: I'm trying to get quoting interpolation to work, which means I first have to
: understand it a little better.
:
: In Perl 5, as far as I can see, the delimiter of quoting constructs (whether
: it's "", '' or qq ) is se
Roie Marianer skribis 2005-04-16 18:28 (+0300):
> My suggestion is to check for delimiters only when it's ambiguous: Inside a
> variable name (qq x$varxy -> "$var"y), and at the beginning of every
> subscript of a scalar, and every subscript after the first one of an array,
> hash of sub (becaus