Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Never lock $0 inside of a BEGIN block

by BrowserUk (Pope)
on May 21, 2003 at 21:49 UTC ( #259906=note: print w/ replies, xml ) Need Help??


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
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://259906]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2015-07-06 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls