•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Perl section within the Software Development category of DaniWeb, a massive community of 427,487 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,394 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Perl advertiser: Programming Forums
Views: 3600 | Replies: 2
![]() |
look intot these operators/functions and decide which is best for your purposes:
system - runs a program but doesn't return program output to the perl script. Returns exit status, if any, of run program instead.
exec - runs a program but exits the perl program as soon as it's called
`` (backtiks) - runs a program and returns program output back to the perl script
qx// - same as backtiks
system - runs a program but doesn't return program output to the perl script. Returns exit status, if any, of run program instead.
exec - runs a program but exits the perl program as soon as it's called
`` (backtiks) - runs a program and returns program output back to the perl script
qx// - same as backtiks
•
•
Join Date: Jul 2006
Location: Deptford, London
Posts: 964
Reputation:
Rep Power: 5
Solved Threads: 48
whatabout pipes?
you should be able to read back live/streaming status if the program sends it... and you can definately send a bulk stream of data to the program; if the program wants to receive it.
EDIT/PS:
be careful you don't do:
unless you're not concerned about losing the exe =P
open my($what), "| bin/what.exe -p whatever"; close ($what);
EDIT/PS:
be careful you don't do:
open my($what), "> bin/what.exe -p whatever"; close ($what);
Last edited by MattEvans : Nov 4th, 2006 at 11:15 pm.
If it only works in Internet Explorer; it doesn't work.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Perl Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Creating an exe file (C++)
- How to run a *.exe file in Java (Java)
- passing parameters in bat file (Visual Basic 4 / 5 / 6)
- how do i call an .exe file from perl script (Perl)
- How to execute .exe file from the perl script (Perl)
- Is it possible to execute programs without “.exe� file extension? (Windows Software)
Other Threads in the Perl Forum
- Previous Thread: fine with .pl ,but error with executable
- Next Thread: Associative array problems


Linear Mode