RE: [Nolug] Perl question

From: Mark A. Hershberger <mah_at_everybody.org>
Date: Tue, 03 Feb 2004 12:14:48 -0600
Message-Id: <1075832055.1716.21.camel@localhost>

On Tue, 2004-02-03 at 11:35, Wimprine, Thomas wrote:
> my @devices = @{$vm->get("Status.devices")};
>
> I think I figured it out. I forgot to actually connect to the vm so any
> refrence to the vm would be undef.

Are you sure that's the problem?

  perl -e 'print @{$vm->get("")}'

gives the following error:

  Can't call method "get" on an undefined value at -e line 1.

Which would be the error you would get if $vm weren't defined. So $vm
is defined. Perhaps not connected...

Mark.

___________________
Nolug mailing list
nolug@nolug.org
Received on 02/03/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST