Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: how to run perl file in linux

by marto (Bishop)
on May 13, 2014 at 10:45 UTC ( #1085883=note: print w/replies, xml ) Need Help??


in reply to how to run perl file in linux

See http://learn.perl.org/first_steps/, or ensure that the file is executable:

chmod +x cpg4.pl

Replies are listed 'Best First'.
Re^2: how to run perl file in linux
by Monk::Thomas (Friar) on May 13, 2014 at 11:47 UTC

    (Just in case the OP is new to UNIX/Linux.)

    ... and execute the file via './cpg4.pl' instead of just 'cpg4.pl'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1085883]
help
Chatterbox?
[GotToBTru]: but then .. if you have nothing to say, why not say nothing?
[MidLifeXis]: I have a user who has a lot of say on how some of our processes work that abhors significant blanks. Perhaps that is a part of it. A not-so-obvious "this space intentionally left blank" indicator.
[MidLifeXis]: On the back end, however, that doesn't mean that i have to use that value to indicate "undefined", no matter how much he thinks I should.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-01-20 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (176 votes). Check out past polls.