bichonfrise74 has asked for the wisdom of the Perl Monks concerning the following question:
So, when I call this script from the command line, it should ask for the input.#!/usr/bin/perl use strict; print "Enter your answer?\n"; # Line 3 <>; # Line 4 print "Done.\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Altering Behavior of a Script
by ikegami (Patriarch) on Sep 03, 2009 at 18:15 UTC | |
by ig (Vicar) on Sep 03, 2009 at 18:33 UTC | |
|
Re: Altering Behavior of a Script
by ig (Vicar) on Sep 03, 2009 at 18:24 UTC | |
|
Re: Altering Behavior of a Script
by bichonfrise74 (Vicar) on Sep 03, 2009 at 20:37 UTC | |
by ikegami (Patriarch) on Sep 03, 2009 at 20:43 UTC | |
by bichonfrise74 (Vicar) on Sep 03, 2009 at 20:47 UTC | |
|
Re: Altering Behavior of a Script
by Bloodnok (Vicar) on Sep 03, 2009 at 19:52 UTC | |
by bichonfrise74 (Vicar) on Sep 03, 2009 at 20:44 UTC | |
by ikegami (Patriarch) on Sep 03, 2009 at 20:52 UTC |