Subject: | add produce "Use of uninitialized value in numeric eq (==)" |
Date: | Sat, 07 May 2011 20:51:07 +0900 |
To: | bug-Linux-usermod [...] rt.cpan.org |
From: | Christian Kuelker <christian.kuelker [...] cipworx.org> |
Executing the simple form of add (as in SYNOPSIS) throws errors.
The user however will be created.
./linux-user-mod-user-add
Use of uninitialized value in numeric eq (==) at
/usr/share/perl5/Linux/usermod.pm line 352.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/Linux/usermod.pm line 364.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/Linux/usermod.pm line 364.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/Linux/usermod.pm line 364.
used version 0.69
perl, v5.10.1
Script:
#!/usr/bin/perl -w
use strict;
use Linux::usermod;
Linux::usermod->add('testuser');
Kind Regards
Christian