Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: comments break my code

by simonm (Vicar)
on Nov 19, 2005 at 17:09 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://510119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found