wow, so easy, great. thanks guys.
heiko >>-----Ursprüngliche Nachricht----- >>Von: Tor Hildrum [mailto:[EMAIL PROTECTED]] >>Gesendet: Mittwoch, 29. Mai 2002 17:32 >>An: Heiko Heggen; Perl >>Betreff: Re: Getting data from console >> >> >>> From: "Heiko Heggen" <[EMAIL PROTECTED]> >>> Date: Wed, 29 May 2002 15:28:17 +0200 >>> To: "Beginners@Perl. Org" <[EMAIL PROTECTED]> >>> Subject: Getting data from console >>> >>> Hi. >>> >>> Just another question. How can I get a user input from the >>console in perl? >>> I'm just playing with the DBI Module and want to ask for a >>select statement, >>> which I can enter in the console. Executing the statment works >>already fine >>> *gg*. >> >>Do you mean like: >>print "Select what database to open:\n"; >>chomp(my $db = <STDIN>); >> >>Or % perlscript.pl database user >>Where you can access them trough $ARGV[0] and $ARGV[1] >> >>Tor >> >> >>-- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]