[ale] Invalid value for share scalar?

Christopher Fowler cfowler at outpostsentinel.com
Mon Oct 2 14:29:01 EDT 2006


On Mon, 2006-10-02 at 14:07 -0400, Jim wrote:

> Anything that goes into that shared object also has to be declared shared. 
> 
> push(@objs,"hi");   is OK
> push(@objs,$xyz); isn't unless $xyz is declared shared also.    I'm not 
> sure why it flags it there however unless catch is being called with @obj.
my $d : shared = Packet->new(now(), $pkt);
push @objs, $d;

my original push was
push @objs, Packet->new(now(), $pkt);

I got an error message on that too.

> Jim.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list