Hi - I'm still confused -

> -----Original Message-----
> From: Benjamin Jeeves [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 16, 2003 3:59 AM
> To: [EMAIL PROTECTED]
> Subject: Re: How to Konsole
> 
> 
> If say the word HELLO is found within a text file then open a xterm and 
> display within xterm I have found HELLO 
> 
> On Sunday 16 Feb 2003 1:21 pm, ktb wrote:
> > On Sun, Feb 16, 2003 at 12:42:29PM +0000, Benjamin Jeeves wrote:
> > > On Sunday 16 Feb 2003 11:43 am, Beau E. Cox wrote:
> > > > Hi
> > > >
> > > > > -----Original Message-----
> > > > > From: Benjamin Jeeves [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Sunday, February 16, 2003 1:19 AM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: How to Konsole
> > > > >
> > > > >
> > > > >
> > > > > Hi
> > > > >
> > > > > How would I go about display a message say like "hello 
> and welcome"
> > > > > in a konsole from a perl scripts if some thing meets a 
> pattern that
> > > > > my perl srcipt
> > > > > is look for.
> > > >
> > > > I'm not sure what you are asking; the perl 'print' command,
> > > > by default, prints to STDOUT which is normally the shell or
> > > > command prompt that your script was started from. So:
> > > >
> > > >  <your test> {
> > > >    print "hello and welcome\n";
> > > >  }
> > > >
> > > > would work. You may want to ask this question again with
> > > > a sample script, your environment, and what you mean by
> > > > 'konsole'.
> > > >
> > > > Aloha => Beau;
> > >
> > > Yes a know about the print
> > >
> > > A Linux Konsole abit like M$DOS window
> >
> > Could you state in clear terms what it is you are trying to do?
> > I'm guessing here that you want to load an xterm.  Is that correct?
> > kent
> 
> -- 
> Thank You
> 
> 
> 
> Benjamin Jeeves
> 

Assuming your input is in $string:

 print "hello and welcome\n" if ($string =~ /HELLO/);

Now, my confusion(s):

* What platform are your running on?

* How is your perl script started - if not from an xterm?
  (an NT service - Windows or deamon - *nix, or CGI?)

Sorry I am having so much trouble understanding
your problem.

Aloha => Beau;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to