Yikes, see inline.

------------------------------------------------
On Wed, 27 Nov 2002 16:02:49 +0100, Marija Silajev <[EMAIL PROTECTED]> 
wrote:

> Hi,
> 
> 
> What I am trying to do is just to understand better why do I get an 
> error message.
> Actually I use Net::Netmask module, and there I simply just do as the 
> README file says.
> 
> 
> $block =new Net::Netmask ($network_block);
> 
> $table = {};
> 
> $block -> storeNetblock([$table]);
> 

This is poorly written documentation.  By placing the $table inside of [] they are 
saying that it is optional, you don't have to supply an argument. Rather than saying 
what we all thought was weird, that is an array reference containing one element that 
is an empty hash ref.  Try just doing:

$block->storeNetblock($table);

Or leaving the $table out all together...

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to