in reply to Re: A Beginner Needs Homework help
in thread A Beginner Needs Homework help

I don't have a windows, I have a mac. Does that matter?

Replies are listed 'Best First'.
Re^3: A Beginner Needs Homework help
by kcott (Archbishop) on Apr 10, 2014 at 06:41 UTC
    "I don't have a windows, I have a mac. Does that matter?"

    I have a Mac. I start all my scripts like this:

    #!/usr/bin/env perl

    When you start using "Command Switches", you can add them after that. For example, here's one I commonly use:

    #!/usr/bin/env perl -l

    -- Ken

Re^3: A Beginner Needs Homework help
by GrandFather (Saint) on Apr 10, 2014 at 04:48 UTC

    Perl is pretty cross platform. The #! line is a *nix thing which may be important on a Mac as Macs these days are really *nix boxes in any case. I didn't mention Mac because Windows and *nix are by far the most common platforms for people discussing Perl and Mac is kinda a special case of *nix anyway.

    Perl is the programming world's equivalent of English
Re^3: A Beginner Needs Homework help
by MidLifeXis (Monsignor) on Apr 10, 2014 at 13:21 UTC

    For the most part, Mac (today) is unix-ish. Unix at its core with Apple 'tweaks'.

    --MidLifeXis