Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

In-line user input in a sub

Quote Reply
In-line user input in a sub
Is there anyway I can get a "Yes" or "No" from a user without having to leave a sub to process the results?

Example:

sub {

blah blah

my $answer = USER INPUT - YES OR NO

process my $answer

}



I keep thinking that the answer may lay in having another function which is called to gather the input, then return this to my sub calling the funcion:

sub {

blah blah

my $answer = &UserInput();

process my $answer

}



What should &UserInput() look like??Crazy


http://www.iuni.com/...tware/web/index.html
Links Plugins
Subject Author Views Date
Thread In-line user input in a sub Ian 4114 Jun 19, 2002, 9:01 PM
Thread Re: [Ian] In-line user input in a sub
Andy 3921 Jun 20, 2002, 12:51 AM
Thread Re: [Andy] In-line user input in a sub
Ian 3817 Jun 20, 2002, 7:47 AM
Thread Re: [Ian] In-line user input in a sub
Ian 3806 Jun 20, 2002, 12:06 PM
Post Re: [Ian] In-line user input in a sub
Ian 3787 Jun 20, 2002, 8:19 PM