Help With signals.

2006-01-06 Thread Leif Ericksen
in the loop I get a segmentation fault so I guess I need the quotes. Can anybody tell me what is wrong with the loop and why it is not working? Also if I uncomment the line: #print "$name:$i \t => SIG{'$name'} = \&sigcat\n"; It appears to be running the correct set routi

Re: Help With signals.

2006-01-06 Thread Leif Ericksen
te as opposed to a single quote in: SIG{'$name'} = \&sigcat; I get a like result it does not work as desired and a complete lack of quotes gives me a segmentation fault. On Fri, 2006-01-06 at 15:37 -0700, Wiggins d'Anconia wrote: > Leif Ericksen wrote: > > I am tryi

Re: Help With signals.

2006-01-06 Thread Leif Ericksen
On Fri, 2006-01-06 at 15:58 -0700, Wiggins d'Anconia wrote: > Please bottom post... > > Leif Ericksen wrote: > > Actually not quite what you thought on the output... > > $ ./myt.pl > > ZERO:0 => SIG{'ZERO'} = &sigcat > > HUP:1=>

Re: Help With signals. Got it working Thanks.

2006-01-06 Thread Leif Ericksen
wrote: > Leif Ericksen am Samstag, 7. Januar 2006 00.12: > > On Fri, 2006-01-06 at 15:58 -0700, Wiggins d'Anconia wrote: > > > Please bottom post... > > > > > > Leif Ericksen wrote: > > > > Actually not quite what you thought on the outpu

Re: how to change working directory

2006-01-10 Thread Leif Ericksen
m to have rather than trusting an 'inheritance' factor. Also if your script is to be run by many, and possibly have a net connection it would be a good idea to further restrict with chroot. -- Leif Ericksen On Wed, 2006-01-11 at 04:21 +0630, Mayank Ahuja wrote: > > Hi > > Co

Re: *NOT* SOLVED Re: Obtaining complete Unix command line that evoked script as string

2006-01-12 Thread Leif Ericksen
ails: http://www.bioinfotools.com > > The information contained in this mail message is confidential and > may be legally privileged. Readers of this message who are not the > intended recipient are hereby notified that any use, dissemination, > distribution or reproductio

Re: Obtaining complete Unix command line that evoked script as string

2006-01-13 Thread Leif Ericksen
of the program that was run and you do not have the special characters it can be done in PERL use my code as an example. If you are trying to trap after the special characters you need to re-write bash/ksh/tsch/sh/csh/ whatever shell you choose. -- Leif Ericksen <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Expect using expect.pm in perl

2006-02-08 Thread Leif Ericksen
m the module distribution as well as some documents from cpan.org, as well as just putting together some code on a trial and error basis. Call me crazy there may be a better way to do what I am doing, but I want to use it as an excuse to learn expect in perl. ;) -- Leif Ericksen <[EMAIL P

working with expect in perl

2006-02-09 Thread Leif Ericksen
* DUMPING INFO I GATHERED \n"; print @cfg_dump; } ### MAIN ## my $command; my @settings; # $user = (getpwuid($<))[0]; ## Get the user that is running the program $command = Expect->s

RE: Continuing the Basic Question

2006-02-09 Thread Leif Ericksen
; and Settings\Administrator\Desktop\ helloworld.pl I notice a space there also not sure of your actual command line included the space or if that is something that got put in for this message... As well spelling will count against you not sure if that was a typo in the message.. I know I make

Re: Looking for 5.8.7 AIX 4.3.3 tar-ball

2006-02-16 Thread Leif Ericksen
ion 5.8.7 build with threading ( 64bit > not necessary ), > build with gcc. > > If somebody knows where to get this, please replay. > > Bastian > > -- Leif Ericksen <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: send mail with authentication and secure connection

2006-03-01 Thread Leif Ericksen
Are you trying to have a perl script send some mail for you? Your want perl to do expect like conditions? Look at using expect in perl. -- Leif Ericksen On Wed, 2006-03-01 at 17:13 +0100, Marco CENTEMERI wrote: > Hi All, > I need to send automatically e-mail using my account. > Beca