Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8080313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:22:35+00:00 2026-06-05T16:22:35+00:00

I am using a web interface written in php that runs a perl script

  • 0

I am using a web interface written in php that runs a perl script in a linux environment.It passes parameters(username,password,…) to the script . I want to view the output of the script without interfering with the process. Note that the script in his turn also passes data and excutes another program.

The script contains print commands like

if( $@ ){
print "Error :".$@."\n";
print "skip...\n"; }
else{
}

I just want to view these results from the shell, also it would do it if i can save into a txt file .

thanks a lot!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:22:37+00:00Added an answer on June 5, 2026 at 4:22 pm

    Run the Perl program from the shell to see the output from print.

    $ perl theprogram
    ⋮
    Error : blah blah
    skip...
    ⋮
    

    Redirect STDOUT to save it into a file.

    $ perl theprogram > theprogram.log
    

    These are the very basics of shell usage, you already should know all this if you are a programmer. If not, read a Unix book for beginners.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my application (admin web interface written in MVC3) running on open-embedded Linux I
I'm trying to build a generic web service interface using WCF, to allow 3rd
I am creating a web application using zend, here I create an interface from
In our web.config I am using the following tag to determine the interface language
Using EF DbContext wrapped in interface(s), dependency injected per web request, to make sure
I am using Web SQL for my app that I intend to run on
I like to get inspiration from using web applications that make good use of
At work we have a web app that we'll need to interface with another
I am using a web form I created as an interface to query a
My web application is written using Spring MVC + Hibernate. My model is Customer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.