Re: : shared

2005-12-16 Thread Beast
Jeff Pang wrote: Do you mean something as below? my $foo::shared = ''; my @bar::shared = (); No. Take a lokk at this code: http://tobyinkster.co.uk/Software/linux/jukebox/jukebox-2.19b.pl ... # Shared variables for passing info around. my @queue : shared = ();# queue my $tQu

Re: : shared

2005-12-16 Thread John W. Krahn
Beast wrote: > > I saw code which has something like : > > > my $foo : shared = ''; > my @bar : shared = (); > ... > > What is that means? perldoc attributes perldoc perlthrtut perldoc perlsub John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: : shared

2005-12-16 Thread Jeff Pang
Do you mean something as below? my $foo::shared = ''; my @bar::shared = (); I don't know what you writted too. -Original Message- >From: Beast <[EMAIL PROTECTED]> >Sent: Dec 16, 2005 5:00 AM >To: beginners@perl.org >Subject: : shared > > >I saw code which has something like : > > >my $f

Fwd: RE: shared library of variables?

2005-09-05 Thread John Doe
|Subject: RE: shared library of variables? |Date: Montag, 5. September 2005 19.47 |From: "Bowen, Bruce" <[EMAIL PROTECTED]> |To: John Doe <[EMAIL PROTECTED]> |Thanks for the reply. |Do you have a place where there might be simple examples of a perl file |activating a libr

Re: shared library of variables?

2005-09-04 Thread John Doe
Bowen, Bruce am Sonntag, 4. September 2005 15.31: > I have a program that is monitoring communications into a PC, and based on > the message format will trigger one of multiple perl files. Most of these > files use the same variable name and my question today is, is there a way > of establishing a

Re: shared data in a class

2003-07-09 Thread Todd Wade
"Paul Archer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The answer to this is probably out there somewhere, but I haven't run across > it yet, so a pointer to a webpage/tutorial/FAQ/whatever would be fine... > > In other words, let's say $main_display is the object that repres

RE: shared data in a class

2003-07-09 Thread Paul Archer
3:28pm, Bob Showalter wrote: > Paul Archer wrote: > > The answer to this is probably out there somewhere, but I haven't run > > across it yet, so a pointer to a webpage/tutorial/FAQ/whatever would > > be fine... > > > > I'm trying to put together an object class (my first OO attempt) for a > > Cur

RE: shared data in a class

2003-07-09 Thread Bob Showalter
Paul Archer wrote: > The answer to this is probably out there somewhere, but I haven't run > across it yet, so a pointer to a webpage/tutorial/FAQ/whatever would > be fine... > > I'm trying to put together an object class (my first OO attempt) for a > Curses-like interface to a serial LCD display

RE: shared hash - how ?

2001-08-02 Thread Brian
Somebody on the mod_perl mailing list might be able to help you better than somebody on the begginers perl list. This is a bit OT (okay, it's way out in left field. If you go to http://perl.apache.com you can sign up for the list. #!/usr/bin/Brian Johnson $job= "Laziness"; $pay=

RE: Shared memory

2001-07-10 Thread Rolf Banting
I'm an idiot. Although I am writing for example 10 1 1 3 3 277 1 1 3 3 277 1 1 3 3 277 ... etc into the memory segment as ints from my C-prog I was expecting perl's shmread to automagically convert this int data into a string. The answer is to use 'unpack' For instance : $num_recs = unpack "i"