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
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
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
|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
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
"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
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
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
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=
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"
10 matches
Mail list logo