.email.verio.net (129.250.38.53) is bouncing any mail to this address.
Steve Aaron
your current job is named "job1" and your perl script is named "myscript", create a shell script name "job2" along the lines of
-
#!/usr/bin/ksh
job1
myscript
---
then replace job1 in cron with job2
Hope this is of use
Title: RE: [Perl-unix-users] Perldoc problem
On Perl 5.6.1 you may have to use
perldoc -h
to get a description of all the options. This seems to be the case on ActiveState so guess its probably the same on the Unix builds. Can anyone confirm/deny this?
Steve Aaron
m its parent. You may want to do
other standard daemon stuff like changing directory to root and redirecting
STDIN,STDOUT and STDERR.
Cheers
Steve
Aaron-Original Message-From: Costa, Michael J. [mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 7:42 PMTo: 'S
Title: RE: [Perl-unix-users] Spawning a process
Try,
If I have understood correctly, I think you want "fork", see perlfunc for documentation. That will fork off a child process while allowing the parent to carry on processing.
Steve Aaron
-Original Message-
stderr etc. and all the other standard daemon stuff.
Steve Aaron
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 9:47 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] daemon program in Perl
Dear,
Is there
Title: RE: [Perl-unix-users] Substitution help needed
Craig,
try this.
#!/usr/bin/perl -w
use strict;
my $s = " ) in psfs1 extent size 40 next size 10 lock mode row;";
print "$s\n";
$s =~ s/\)/\)\;/;
print "$s\n
Title: RE: [Perl-unix-users] Problems with URI;
I agree with Bill. In fact if you are on Unix using single quotes will protect your command line parameters from the shell altogether. Using double quotes allows variable substitution as in "open $file output" will evaluate the shell variabl
ot;$!\n";
@lines = ;
foreach (@lines){
chomp;
if (/\bUP\b/ && /\b$server_name\b/) {
s/\t+/|/g;
s/missed //g;
print "$_\n";
}
close inlogfi
_name is predictable. e.g. It alway falls after UP.
If you cannot predict where the server name falls then it will be more efficient to put the text that occurs least frequently on the left of the && as the right-hand side is only evaluated if the left-hand expression returns true.
find. But if you see anything that jumps out at you, please let me
know. Steve or anyone.
Thanks once again for your response, and all the best.
-Jason Ostrom
Irving, TX USA
Steve Aaron> Jason,
Steve Aaron> what about something like.
Steve Aaro
Title: RE: [Perl-unix-users] sysread, sockets, reading binary data
Jason,
what about something like.
my @bytearray;
push @bytearray, unpack "C*", $bufrcv;
foreach my $byte (@bytearray) {
...
}
Steve Aaron
-Original Message-
F
12 matches
Mail list logo