Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: comments break my code

by simonm (Vicar)
on Nov 19, 2005 at 17:09 UTC ( #510119=note: print w/replies, xml ) Need Help??


in reply to Re^2: comments break my code
in thread comments break my code

If you're editing files on Windows and running them on a Mac, you might need to check your line endings -- is there a real carriage-return between the comment and the "1;" line? -Simon

Replies are listed 'Best First'.
Re^4: comments break my code
by arcnon (Monk) on Nov 19, 2005 at 17:14 UTC
    holy crap... thanks. the .pm had mac lineendings.
    fixed that and it worked.
    Guess I am offically an idiot.

      You aren't the first, nor the last, to be nailed by line ending issues: don't worry about it. :-)

      ---
      $world=~s/war/peace/g

      Welcome to the club. This sort of thing is embarassing, but consider this - you'll probably never make this particular mistake again...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://510119]
help
Chatterbox?
[CPUlidster]: 20yrs since I visited.
LanX is sure Louvre is going to move to Glasgow after brexit
[ambrus]: marto: http://www. irregularwebcomic. net/3498.html and http://www. irregularwebcomic. net/3549.html
[ambrus]: the annotation mentions Brisbane as even worse, and I add Debrecen
[marto]: :)
[ambrus]: robby: dunno, I would like to visit London some time, although there are other places I'd like to visit more
[marto]: "Okay, sure, there are in fact museums and art galleries and other culturally enlightened things to do in Glasgow, but that wouldn't have made a funny comic"

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2017-12-15 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (431 votes). Check out past polls.

    Notices?