Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Module caller

by RonW (Parson)
on May 06, 2015 at 21:16 UTC ( [id://1125910]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Module caller
in thread Module caller

#!perl -w print $0;
> perl zeroTest.pl zeroTest.pl

Replies are listed 'Best First'.
Re^4: Module caller
by Your Mother (Archbishop) on May 06, 2015 at 21:31 UTC
    #!/usr/bin/env perl # File is named zeroTest.pl. $0 = "Oh, sure, why not?"; print $0, $/;
    moo@cow[27]~>zeroTest.pl Oh, sure, why not?

    :P

      #!perl -w $0 = 'Oh, sure, why not?'; sleep 5; print $0;
      > perl zeroTest.pl & > ps PID PPID TTY UID STIME COMMAND 35401 3400 pty0 101 19:45:35 Oh, sure, why no 35402 3400 pty0 101 19:45:37 /usr/bin/ps > Oh, sure, why not?

      (16 character limit exceded)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found