Re: Repositories down?

2006-05-23 Thread Jeff Griffiths
Lynn. Rickards wrote: ... > tested and working for me: ... The repositories are now back up and seem to be fine. Thanks again to everyone who reported this! JeffG ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://lis

Re: Repositories down?

2006-05-23 Thread Lynn. Rickards
> > Is anyone else having problems with the Active State repositories? I'm > getting this message: > > Searching in Active Repositories > Error: No valid repositories: Error: This SOAP server does not expose a > PPM3-compatible interface. Specifically, it does not implement the > ppm_p

Re: Repositories down?

2006-05-23 Thread jeffg
Sorry for the inconvenience! The ppm repositories are currently misconfigured, and are returning the error you mention below. We hope to have them back up and running correctly this morning some time. cheers, JeffG On Tue, May 23, 2006 at 09:13:41AM -0600, Wayne Simmons wrote: > Is anyone else

RE: accessing referenced array from subroutine

2006-05-23 Thread Brian Raven
[EMAIL PROTECTED] <> wrote: >>> #this part is new and confuses myself >>> push (@{$sessionids{$session->{pathname}}},{$session->{id}}); push >>> (@{$sessionusers{$session->{pathname}}},{$session->{username}}); >> >> Why the braces? You are creating anonymous hashes. Also too many >> unnece

Re: accessing referenced array from subroutine

2006-05-23 Thread Williamawalters
hi lars --     In a message dated 5/23/2006 8:43:34 A.M. Eastern Standard Time, [EMAIL PROTECTED] writes:   > I've cleaned my code quite a bit now with that help, and needed to add a> functionality too... Now I guess (though I *think* I start to understand a> bit more), I'm strung in the wo

Repositories down?

2006-05-23 Thread Wayne Simmons
Is anyone else having problems with the Active State repositories? I'm getting this message: Searching in Active Repositories Error: No valid repositories: Error: This SOAP server does not expose a PPM3-compatible interface. Specifically, it does not implement the ppm_protocol() method. Please in

RE: accessing referenced array from subroutine

2006-05-23 Thread extern . Lars . Oeschey
> > #this part is new and confuses myself > > push (@{$sessionids{$session->{pathname}}},{$session->{id}}); > > push > > (@{$sessionusers{$session->{pathname}}},{$session->{username}}); > > Why the braces? You are creating anonymous hashes. Also too many > unnecessary brackets. Also, g

RE: accessing referenced array from subroutine

2006-05-23 Thread Brian Raven
[EMAIL PROTECTED] <> wrote: >> Perl hashes allow us to avoid loops like the one for @keys. >> The keys in a hash can be tested without looping over each key. >> Here's a rewrite of List_Sessions(). Unfortunately, I am pressed for >> time today and can't walk you through the changes. Look at it

RE: accessing referenced array from subroutine

2006-05-23 Thread extern . Lars . Oeschey
> and below I try to print in the table the path, then the users and > sessionids, but I only get something like this: > > HASH(0x19a6704) HASH(0x19a6680) HASH(0x19a6644) > > so it seems i'm not completely dereferencing the hash... but > shouldn't I > then get a "ARRAY(0x283823)" instead, since

RE: accessing referenced array from subroutine

2006-05-23 Thread extern . Lars . Oeschey
> Perl hashes allow us to avoid loops like the one for @keys. > The keys in a hash can be tested without looping over each key. > Here's a rewrite of List_Sessions(). Unfortunately, I am pressed > for time today and can't walk you through the changes. Look at > it and ask questions to the list.

Re: POSIX::setsid - Any issue with this?

2006-05-23 Thread Arijit Das
Ooops ... my mistake! A session creator shdn't be a process group leader. Thanks anyways, Arijit --- Arijit Das <[EMAIL PROTECTED]> wrote: > Any idea what am I doing wrong here...? Why isn't > setsid working? > > Thanks, > Arijit > > vgamd129> ./test.pl > 21544: My pgid = 21544 > $sess_id =

POSIX::setsid - Any issue with this?

2006-05-23 Thread Arijit Das
Any idea what am I doing wrong here...? Why isn't setsid working? Thanks, Arijit vgamd129> ./test.pl 21544: My pgid = 21544 $sess_id = -1 vgamd129> cat test.pl #!/depot/qsc/VG1.0/bin/perl use POSIX; setpgrp($$, $$); $gpid = getpgrp(); print "$$: My pgid = $gpid\n"; $sess_id = POSIX::setsid(