Ask a Question related to PERL Beginners, Design and Development.
-
Drieux #1
Some 'System Calls' was Re: Capturing system call output value
On Friday, Nov 14, 2003, at 18:39 US/Pacific, Jerry Rocteur wrote:
Wiggins is the one who deserves the point,> Beautiful drieux, what a sexy way to do a system call!!
>
> And I never knew about $host = hostname;.. What a neat trick..
>
> Keep 'em comin...
since he was the one with the reference
to Sys::Hostname, and when one sees such
things one should just do the
perldoc Sys::Hostname
read the pod, copy and paste from the pod
the call that one needs and move on to
the next problem.
ciao
drieux
---
Drieux Guest
-
Zip & unzip using system calls
I want to know how to do a system call inside a php code that zip & another code to unzip files .... :ph34r: help me plz ... -
Capturing system call output value
perldoc -q 'output of a command' You want backticks instead, though there are better ways to come by the sysem name, and don't use $a.... ... -
system alert for phone calls?
I have an internal modem which I don't currently use. I'm wondering if anyone knows of an OS X app that can alert you via screen or audio when... -
Finding system data with system calls.
I'd like to obtain some data about a machine that runs AIX in a C program. Hence I don't want to use utilities at the command line, but system... -
Apache/Perl segfaulting on system calls
Jeff wrote: Some code would be helpful. Also, check your error log to see if anything useful is in there. -
addy john #2
Re: Some 'System Calls' was Capturing system call output value
Replaces the current process by running the given external command. If exec is given a single argument, that argument is taken as a line that is subject to shell expansion before being executed. If multiple arguments are given, the second and subsequent arguments are passed as parameters to command with no shell expansion. If the first argument is a two-element array, the first element is the command to be executed, and the second argument is used as the argv[0] value, which may show up in process listings. In MSDOS environments, the command is executed in a subshell; otherwise, one of the exec(2) system calls is used, so the running command may inherit some of the environment of the original program (including open file descriptors).
Junior Member
- Join Date
- May 2011
- Posts
- 3



Reply With Quote

