in reply to Comments trouble

first let me congratulate you on your choice of OS. =) On OS X 10.2 -> 10.3 perl is installed when you install the devel toolkit from apple or when you install it with fink. It is no longer MacPerl. You will notice that while you learn perl that it runs the same as any other unix version of perl. You may want to look into getting some great books such as the camel, the lama etc. these books will help you jump in and learn perl. As for your original posting you may want to show the code that is behaving poorly. A few tips I can pass your way off the top of my head is to make sure you save as a unix file in bbedit while editing perl scripts. also you may want to get in the habit of using strict diagnostics and warrnings on your code. I would bet they will point you to the right direction with this issue.


-Waswas

Replies are listed 'Best First'.
Re: Re: Comments trouble
by ctp (Beadle) on Dec 29, 2003 at 06:27 UTC
    I do have the Camel book, and the Llama book, as well as several others. I had taken a couple courses a while back and bought a few, then got rusty, so now jumping back in.

    I will try what you say about the BBedit saves...been using BBedit forever, but hadn't ever needed to do that so didn't even know about it.

    I am reading ahead about diagnostics and 'strict' and such, and plan to write a script to ferret out the issue. I wrote here first just to make sure there wasn't one of those answers like, "Oh yea, in OSX you gotta have the comments bit set to one...sheesh!" Know what I mean? :-)

    Many thanks!
Re: Re: Comments trouble
by ctp (Beadle) on Dec 29, 2003 at 06:43 UTC
    ARRRRRGGGHHHHH.

    No, not pirate like...Charlie Brown like. Changed BBedit to save as UNIX files. No joy :(

      I think you need to do a little more than just save as Unix. You need to convert the line endings that are already there to the Unix line endings.

      I haven't had BBEdit installed since I installed Panther (OS X 10.3) but I seem to remember this was pretty easy to do.

      update: Check out Line Ending Converter for a conversation on line endings (as well as some scripts to convert files in place).