Subject: | Fail to create a new intance? |
Date: | Fri, 2 Dec 2011 16:43:28 +0100 |
To: | bug-Unix-ConfigFile [...] rt.cpan.org |
From: | Damian Montaldo <damianmontaldo [...] gmail.com> |
Hi, using this simple code at http://pastebin.com/6bLE0p7P
When I create a new instance and check that everything was ok I exit with die
#!/usr/bin/perl
# http://search.cpan.org/~ssnodgra/Unix-ConfigFile-0.06/GroupFile.pm
use Unix::GroupFile;
my $grp = new Unix::GroupFile "/etc/group"
or die "can't create object from Unix::GroupFile ";
Is this the expected behavior?
I'm currently usging this version of the module
SSNODGRA/Unix-ConfigFile-0.06.tar.gz
/usr/bin/make test -- OK
Running make install
Installing /usr/local/share/perl/5.12.4/Unix/PasswdFile.pm
Installing /usr/local/share/perl/5.12.4/Unix/AliasFile.pm
Installing /usr/local/share/perl/5.12.4/Unix/GroupFile.pm
Installing /usr/local/share/perl/5.12.4/Unix/AutomountFile.pm
Installing /usr/local/share/perl/5.12.4/Unix/ConfigFile.pm
Installing /usr/local/man/man3/Unix::GroupFile.3pm
Installing /usr/local/man/man3/Unix::AliasFile.3pm
Installing /usr/local/man/man3/Unix::PasswdFile.3pm
Installing /usr/local/man/man3/Unix::AutomountFile.3pm
Installing /usr/local/man/man3/Unix::ConfigFile.3pm
Appending installation info to /usr/local/lib/perl/5.12.4/perllocal.pod
SSNODGRA/Unix-ConfigFile-0.06.tar.gz
/usr/bin/make install -- OK
Thanks! And excuse my noob question.