re stdin

2004-10-28 Thread E.Horn
Thanks! Where do I have to put die "Only letters allowed!\n" if $eingabe =~ /[^a-z]/i; just behind print "geben Sie ein gtpprotein ein\n"; my $eingabe = The editor has a problem with this (die). Regards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: STDIN and STDOUT on Windows

2004-01-14 Thread Peter Kay
[EMAIL PROTECTED] (Rob Dixon) wrote: > We Unix people find we Windows people very strange :) ... > test.pl < test.txt > and > type test.txt | perl test.pl > > are just two (increasingly weird) versions of > > perl test.pl test.txt > We Unix people want to rip out the operating system som

Re: STDIN

2003-09-15 Thread zsdc
Vema Venkata wrote: use Time::Local; use FileHandle; Add: use Term::ReadLine; my $term = new Term::ReadLine 'Program name'; And change this: my $choose_table= ; #user has to key in Change_Request,call_req,Both read(STDIN,call_req ) chomp $choose_table; to that: my $choose_table = $term

Re: STDIN and STDOUT on Windows

2003-07-21 Thread Rob Dixon
Mark Lobue wrote: > > -Original Message- > > From: LoBue, Mark [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 21, 2003 9:26 AM > > To: '[EMAIL PROTECTED]' > > Subject: STDIN and STDOUT on Windows > > > > > > Hello, > > > > I normally use perl on a unix platform, but I needed to run a > >

RE: STDIN and STDOUT on Windows

2003-07-21 Thread LoBue, Mark
> -Original Message- > From: LoBue, Mark [mailto:[EMAIL PROTECTED] > Sent: Monday, July 21, 2003 9:26 AM > To: '[EMAIL PROTECTED]' > Subject: STDIN and STDOUT on Windows > > > Hello, > > I normally use perl on a unix platform, but I needed to run a > quick utility > on a Windows PC. No

Re: STDIN

2002-09-30 Thread david
Janfek Esquivel wrote: > I have an HTML in which I have a text box and 2 combo boxes, what I want > to do, is to read the information entered by text and also the informatios > selected from the combo boxes (not always used) to compare it with the > information on it, I already have the code to g

Re: STDIN

2002-01-21 Thread Vicky Lorenzo
Hi Walter, You can use CPAN module Term::ReadKey: use Term::ReadKey; ReadMode('noecho'); $password = ReadLine(0); I got this from O'Reilly's Perl Cookbook page 529 :) -vicky --- walter valenti <[EMAIL PROTECTED]> wrote: > Hi, > someone knows, how insert text gron STDIN, without > see this on

Re: STDIN Formating

2002-01-03 Thread Frank
On Sat, Dec 08, 2001 at 04:22:44PM +0800, Hubert wrote: > Hello, > Say I have I loop > while () > { > print .. > } > Is there a wa

Re: STDIN

2001-12-21 Thread Andrea Holstein
Walter Valenti wrote: > > Hi, > someone knows, how insert text gron STDIN, without see this on the > shell?? > > For example for insert a password.. > > Thanks For reading a password, there's a CPAN module: Term::ReadPassword. Greetings, Andrea -- To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: STDIN

2001-12-20 Thread Curtis Poe
--- walter valenti <[EMAIL PROTECTED]> wrote: > Hi, > someone knows, how insert text gron STDIN, without see this on the > shell?? > > For example for insert a password.. Walter, I *think* what you are asking is "How do I get a password from STDIN without it showing up on the screen?" use

Re: stdin doesn't see the first keystroke+enter

2001-09-16 Thread Danny Haberer
Fixed it myself. The problem is rlogin someserver/someprogram. If I run the script itself on 'someserver' and just use someprogram as input everything works fine Danny On Sun, 16 Sep 2001, Danny Haberer wrote: Hi, I have a program with 2 while loops in there. The problem being is that when e

Re: STDIN

2001-07-26 Thread Stephen P. Potter
Lightning flashed, thunder crashed and "Sparkle Williams" <[EMAIL PROTECTED]> whispered: | Is there any other way to input information through STDIN other than using | $variable = ? I have a script that requires multiple values of | STDIN, each one different, but the script reads each of the c

Re: (solution) Re: STDIN and STDOUT

2001-07-10 Thread Paul
--- Michael Fowler <[EMAIL PROTECTED]> wrote: > On Tue, Jul 10, 2001 at 10:28:14AM -0700, Paul wrote: > > > > --- Paul <[EMAIL PROTECTED]> wrote: > > > > > > --- Bob Mangold <[EMAIL PROTECTED]> wrote: > > > > exec(' myperl.pl 2>&1 ' ) ? > > > > > > > > ok, this works, but what the heck is it do

Re: (solution) Re: STDIN and STDOUT

2001-07-10 Thread Michael Fowler
On Tue, Jul 10, 2001 at 10:28:14AM -0700, Paul wrote: > > --- Paul <[EMAIL PROTECTED]> wrote: > > > > --- Bob Mangold <[EMAIL PROTECTED]> wrote: > > > exec(' myperl.pl 2>&1 ' ) ? > > > > > > ok, this works, but what the heck is it doing. i've never seen that > > > syntax. > > > > lol -- it's no

Re: (solution) Re: STDIN and STDOUT

2001-07-10 Thread Paul
--- Paul <[EMAIL PROTECTED]> wrote: > > --- Bob Mangold <[EMAIL PROTECTED]> wrote: > > As mentioned eariler... > > > > --- Craig Moynes/Markham/IBM <[EMAIL PROTECTED]> wrote: > > You mentioned in the earlier email that you were calling your perl > > script > > via 'exec' (as I remember). > > Co

Re: (solution) Re: STDIN and STDOUT

2001-07-10 Thread Paul
--- Bob Mangold <[EMAIL PROTECTED]> wrote: > As mentioned eariler... > > --- Craig Moynes/Markham/IBM <[EMAIL PROTECTED]> wrote: > You mentioned in the earlier email that you were calling your perl > script > via 'exec' (as I remember). > Could you not use something like > exec(' myperl.pl 2>&1

(solution) Re: STDIN and STDOUT

2001-07-10 Thread Bob Mangold
As mentioned eariler... --- Craig Moynes/Markham/IBM <[EMAIL PROTECTED]> wrote: You mentioned in the earlier email that you were calling your perl script via 'exec' (as I remember). Could you not use something like exec(' myperl.pl 2>&1 ' ) ? ok, this works, but what the heck is it doing. i've

Re: STDIN and STDOUT

2001-07-10 Thread Paul
--- Bob Mangold <[EMAIL PROTECTED]> wrote: > > Are you sure it's STDERR? Some write directly to ther terminal > > screen... > > I checked through the module code and it definitely says 'print > STDERR ...'. Well, unless they've done some shinanigans further up the code, that's pretty conclusive

Re: STDIN and STDOUT

2001-07-10 Thread Bob Mangold
> Are you sure it's STDERR? Some write directly to ther terminal > screen... > I checked through the module code and it definitely says 'print STDERR ...'. > What is this module? The module is 'bioperl' (used for genetic analysis). __ Do You Ya

Re: STDIN and STDOUT

2001-07-10 Thread Paul
--- Bob Mangold <[EMAIL PROTECTED]> wrote: > > Does anybody know why he shouldn't do the following? > > > > *STDERR = *STDOUT; > > > > This is what I orignally tried, and is didn't really work. I think my > problem lies in the fact that I am hoping to make the change in a > module that I am 'u

Re: STDIN and STDOUT

2001-07-10 Thread Bob Mangold
> Does anybody know why he shouldn't do the following? > > *STDERR = *STDOUT; > This is what I orignally tried, and is didn't really work. I think my problem lies in the fact that I am hoping to make the change in a module that I am 'use'ing. So I tried all of the suggestions, but it seemed tha

Re: STDIN and STDOUT

2001-07-10 Thread Paul
--- Bob Mangold <[EMAIL PROTECTED]> wrote: > Hello, > > I sent an email yesterday, but never heard anything. Maybe it was the > word 'php' in the subject, but let me just simplify and ask another > way. > > Is there a way to automatically direct all STDERR output to STDOUT. A > module I have in

Re: STDIN and STDOUT

2001-07-10 Thread Chas Owens
On 10 Jul 2001 04:45:56 -0700, Bob Mangold wrote: > Hello, > > I sent an email yesterday, but never heard anything. Maybe it was the word > 'php' in the subject, but let me just simplify and ask another way. > > Is there a way to automatically direct all STDERR output to STDOUT. A module I > hav

Re: STDIN and STDOUT

2001-07-10 Thread Craig Moynes/Markham/IBM
>Hello, >I sent an email yesterday, but never heard anything. Maybe it was the word >'php' in the subject, but let me just simplify and ask another way. >Is there a way to automatically direct all STDERR output to STDOUT. A module I >have installed automatically creates STDERR output, but I want t

Re: STDIN and STDOUT

2001-07-10 Thread Robert Aspinall
Hello, open (STDERR, ">&STDOUT"); I think that'll do the trick. If it doesn't.. remove the &, and it will. (Sorry, I'm not at a perl enabled machine right now :) ) Robert Aspinall Support Engineer V-ONE Corporation [EMAIL PROTECTED] - Original Message - From: "Bob Mangold" <[EMAIL PRO

Re: STDIN and STDOUT

2001-07-10 Thread Rashid Faraby
Try BEGIN { open (STDERR, ">c:/temp/error.txt"); } To capture STDERR in temporary text file. I always use this in my scripts for debugging purposes. It usually helps ;-} Rashid -Original Message- From: Bob Mangold <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Tue, 10 Jul 2001 0

Re: STDIN and STDOUT

2001-07-10 Thread Rashid Faraby
Try BEGIN { open (STDERR, ">c:/temp/error.txt"); } To capture STDERR in temporary text file. I always use this in my scripts for debugging purposes. It usually helps ;-} Rashid -Original Message- From: Bob Mangold <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Tue, 10 Jul 2001 0