[Perl-unix-users] Where is Clayton Donley

2002-03-18 Thread Steve Aaron
.email.verio.net (129.250.38.53) is bouncing any mail to this address. Steve Aaron

RE: [Perl-unix-users] How to make a job dependent on another

2002-02-12 Thread 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

RE: [Perl-unix-users] Perldoc problem

2002-01-03 Thread Steve Aaron
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

RE: [Perl-unix-users] Spawning a process

2001-12-17 Thread 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

RE: [Perl-unix-users] Spawning a process

2001-12-17 Thread Steve Aaron
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-

RE: [Perl-unix-users] daemon program in Perl

2001-12-14 Thread Steve Aaron
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

RE: [Perl-unix-users] Substitution help needed

2001-12-03 Thread Steve Aaron
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

RE: [Perl-unix-users] Problems with URI;

2001-11-29 Thread Steve Aaron
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

RE: [Perl-unix-users] Script Help Please

2001-11-26 Thread Steve Aaron
ot;$!\n";     @lines = ;   foreach (@lines){   chomp;     if (/\bUP\b/ && /\b$server_name\b/) {   s/\t+/|/g;   s/missed //g;   print "$_\n";     } close inlogfi

RE: [Perl-unix-users] Script Help Please

2001-11-26 Thread Steve Aaron
_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.

RE: [Perl-unix-users] sysread, sockets, reading binary data

2001-11-20 Thread Steve Aaron
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

RE: [Perl-unix-users] sysread, sockets, reading binary data

2001-11-20 Thread Steve Aaron
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