Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: grep trouble (OT)

by Eliya (Vicar)
on Apr 17, 2011 at 06:57 UTC ( [id://899795]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/bin/sh
    eval 'PATH=/usr/local/bin:$PATH \
    ...
    #!perl
    
    print "this is $^X, version $]\n";
    
  2. or download this
      /path/to/some/other/perl script.pl
    
  3. or download this
      perl script.pl
    
  4. or download this
    $ ./script.pl
    this is /usr/local/bin/perl, version 5.012002
    
  5. or download this
    $ /usr/bin/perl -v
    
    ...
    
    $ /usr/bin/perl script.pl
    this is /usr/local/bin/perl, version 5.012002
    
  6. or download this
    >perl script.pl
    Can't exec /bin/sh at script.pl line 1.
    
  7. or download this
      perl -x script.pl
    

Log In?
Username:
Password:

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

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

    No recent polls found