in reply to Re: Re: Real World 1, Great Expectations 0
in thread Real World 1, Great Expectations 0

IO::File inherits from IO::Handle, so the parent methods are also available to you. (You might have better luck with the ambiguous syntax if you use a Perl-style loop. I have not tested that, however.)

Update: PSI::ESP will only be available when the already-complex Perl grammar is complete enough to DWIMHM (might have meant). :)

Anyone who can figure out how to allow post-expression for clauses while retaining the standard procedural loop and adding support for finding missing semicolons in the first case, should feel free to send me a message. We could fix a parser bug. *shiver*

  • Comment on Re: Re: Re: Real World 1, Great Expectations 0

Replies are listed 'Best First'.
Re: Re: Re: Re: Real World 1, Great Expectations 0
by hsmyers (Canon) on Oct 18, 2001 at 06:54 UTC
    True, but all of the perl-style loops do the sensible thing and flatten the syntax to a simple scalar, I was just curious about why the array element didn't work. I'd forgotten the ambiguous syntax print problem (if I'd ever really known!). I sort of got caught up in the notion that not only is there more than one way to do it, but that any logical way should work as well— here's that expectation thing again…

    hsm