On Tue, 3 Jul 2001, Pozsar Balazs wrote:

> I get this warning:
> Reference found where even-sized list expected at ./n.pl line 94.
>
> when running my script, and i don't understand what does it mean.
> Please explain. Here are the relevant lines:
>
> 94:   my %args = {
> 95:       descriptor  =>      "/usr/lib/nitro/all.xml",
> 96:       build       =>      {
> 97:               cleanup     =>      1,
> 98:               bindir      =>      "$origwd/binaries"
> 99:       }
> 100:  };

You are using braces where you should be using parentheses.  The curly
braces are used when you are creating an anonymous hash, as you do
correctly for the binddir key.

my %args = (
        #hash values
);
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
An investment in knowledge always pays the best interest.
                -- Benjamin Franklin

Reply via email to