Subject: | NetApp-1.1.2 cpan module |
Date: | Tue, 27 Apr 2010 15:03:44 +0100 |
To: | <bug-NetApp [...] rt.cpan.org> |
From: | "Mark Waterhouse" <mark [...] dfk-systems.com> |
Hi
Firstly, thanks for the module...this makes life so much quicker for my weekly reports ;-)
I have stumbled across a small bug when using the $filer->get_aggregate ( $aggrname ) syntax
Basically, if the aggregate contains no volumes, the module dies with
substr outside of string at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Aggregate.pm line 507.
Use of uninitialized value $value in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Aggregate.pm line 515.
Use of uninitialized value $value in split at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Aggregate.pm line 531.
substr outside of string at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Aggregate.pm line 511.
Use of uninitialized value $value in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Aggregate.pm line 515.
Use of uninitialized value $value in split at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Aggregate.pm line 531.
Use of uninitialized value $line in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Aggregate.pm line 581.
Use of uninitialized value $line in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Aggregate.pm line 583.
Use of uninitialized value $line in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Aggregate.pm line 583.
Unable to parse Plex name and state:
at /usr/local/lib/perl5/site_perl/5.10.0/NetApp/Filer.pm line 625
I realise that this is probably only a small modification to fix and will likely fix this locally soon...however, I thought I'd also bring this to your attention.
If you have any questions, please dont hesitate to ask
Best Regards
Mark
Perl version: 5.10.0
OS: Fedora 12 i686