Psyber Netik has asked for the wisdom of the Perl Monks concerning the following question:
$./ldapuser.pl -u hello Use of uninitialized value in print at ./ldapuser.pl line 25.#!/usr/bin/perl use strict; use warnings; use strict 'vars'; use Getopt::Std; #Setting options # u:username # h:hostname # p:password # k:SSH Key getopts("u:h:p:k:"); package opts; our ($opt_u, $opt_h); #### TEST SECTION ### print $opts::opt_u;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use of uninitialized value in print
by ikegami (Patriarch) on Mar 26, 2009 at 20:18 UTC | |
|
Re: Use of uninitialized value in print
by kyle (Abbot) on Mar 26, 2009 at 20:20 UTC | |
|
Re: Use of uninitialized value in print
by toolic (Bishop) on Mar 26, 2009 at 20:37 UTC | |
|
Re: Use of uninitialized value in print
by mikelieman (Friar) on Mar 26, 2009 at 20:34 UTC | |
by toolic (Bishop) on Mar 27, 2009 at 00:34 UTC |