Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: A Beginner Needs Homework help

by Swizzlestix617 (Novice)
on Apr 10, 2014 at 04:38 UTC ( [id://1081749]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1081749]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-25 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found