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

Re^2: problems calling bash script

by incognito129 (Acolyte)
on Mar 23, 2009 at 05:58 UTC ( [id://752514]=note: print w/replies, xml ) Need Help??


in reply to Re: problems calling bash script
in thread problems calling bash script

im using backtick and permissions are correct. I just tested using the system command and it runs fine but i need the output.

Replies are listed 'Best First'.
Re^3: problems calling bash script
by irah (Pilgrim) on Mar 23, 2009 at 06:05 UTC

    Both the script are working fine for me. The bash script contains,

    #!/bin/bash echo `date`;

    The Perl script contains,

    #!/usr/bin/perl use strict; use warnings; print `./bash_script`;

    You can take this as sample and continue the process. You may forget to mention the path.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2025-03-21 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (63 votes). Check out past polls.