in reply to Re: Never lock $0 inside of a BEGIN block
in thread Never lock $0 inside of a BEGIN block

Say you have 20 double quoted strings...So, Perl sees 49 quotes.

No wonder the poor thing is confused:)


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
  • Comment on Re: Re: Never lock $0 inside of a BEGIN block

Replies are listed 'Best First'.
Re: Never lock $0 inside of a BEGIN block
by Abigail-II (Bishop) on May 21, 2003 at 21:57 UTC
    Well, yeah, didn't you see the 10 references to $"?

    Abigail

      Darn it! My blasted syntax highlighter is always confused by that dratted var:)


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller

        Maybe it suggests that you should not use the var ;-)

        The syntax highlighter built into SciTE gets confused from time to time as well ... but generaly I think I improve the code if I change it to suite SciTE. If the code confused the parser it might as well confuse a programmer. Especialy if he uses something that highlights it wrong.

        Jenda
        Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
           -- Rick Osborne

        Edit by castaway: Closed small tag in signature