From: "Paul Harwood" <[EMAIL PROTECTED]>
> Thanks!
>
> I got it to work using:
>
> $server {$thread}->{$logfile}->{$delay} = [EMAIL PROTECTED];
>
> But I guess it's better to use an array reference?
You are using an array reference.
The difference is that
$server {$thread}->{$logfile}->{$delay} = [EMAIL PROTECTED];
creates a copy of the array and stores the reference to the copy
while
$server {$thread}->{$logfile}->{$delay} = [EMAIL PROTECTED];
stored copy to the original array.
Which of these two do you need I'm not sure.
Try this:
@a = (1,2,3);
$ref1 = [EMAIL PROTECTED];
$ref2 = [EMAIL PROTECTED];
print "(@$ref1) == (@$ref2)\n";
$a[0] = 99;
print "(@$ref1) != (@$ref2)\n";
HTH, Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]