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
[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
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
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
> >
> -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
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
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
On Sat, Dec 08, 2001 at 04:22:44PM +0800, Hubert wrote:
> Hello,
> Say I have I loop
> while ()
> {
> print ..
> }
> Is there a wa
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
--- 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
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
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
--- 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
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
--- 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
--- 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
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
--- 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
> 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
--- 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
> 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
--- 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
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
>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
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
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
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
27 matches
Mail list logo