Perl-Sensitive Sunglasses | |
PerlMonks |
Re: adding sys env varby damian1301 (Curate) |
on Jul 06, 2001 at 22:58 UTC ( [id://94551]=note: print w/replies, xml ) | Need Help?? |
Using strict doesn't let me prompt for this. !!! strict.pm will let you prompt as long as you declare your variable lexically scoped instead of global. You could use this common example: chomp(my $host = <STDIN>);
In Section
Seekers of Perl Wisdom
|
|