Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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


Comment on Re^3: comments break my code
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2015-07-04 07:42 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 (58 votes), past polls