Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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?
[marto]: Illegal_opcode
[zentara]: marto arn't those NSA secrets? :-)
[marto]: not if you keep telling people :P
[zentara]: I had to disable hyperthreading on my machine because of that.
[Discipulus]: thanks marto but... at the moment this seems a bit beyond my faculties.. ;=)
[zentara]: a thread goes into a wait state after emitting a wait to all other threads. It locks up a machine completely.
[marto]: if you mean the recent hyperthreading bug, I don't think that's NSA related?
[zentara]: s/thread/cpu/
[marto]: xkcd://538
[Discipulus]: these opcodes mentioned in the wiki pages are the same opcode perl is translated into? or is just the same term but in different fields?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2017-07-28 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (428 votes). Check out past polls.