http://www.perlmonks.org?node_id=510119


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