How to Konsole

2003-02-16 Thread Benjamin Jeeves
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. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to Konsole

2003-02-16 Thread Beau E. Cox
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

Re: How to Konsole

2003-02-16 Thread Benjamin Jeeves
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 m

Re: How to Konsole

2003-02-16 Thread ktb
On Sun, Feb 16, 2003 at 12:42:29PM +, 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] > > > Su

RE: How to Konsole

2003-02-16 Thread Beau E. Cox
Hi- > -Original Message- > From: Benjamin Jeeves [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 16, 2003 2:42 AM > To: [EMAIL PROTECTED] > Subject: Re: How to Konsole > > > On Sunday 16 Feb 2003 11:43 am, Beau E. Cox wrote: > > Hi > > > > > -Original Message- > > > From: Be

gui with perl modules

2003-02-16 Thread Mikel Rodriguez
First of all I would like to introduce myself. I am new to the list and this is my first post. My name is Mikel, I am from Venezuela and am very interested in learning Perl. At the moment I am interested in building Gui's for some of the work I am doing with Perl under linux. I am having troubl

Re: How to Konsole

2003-02-16 Thread Benjamin Jeeves
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 +, Benjamin Jeeves wrote: > > On Sunday 16 Feb 2003 11:43 am, Beau E. Cox wrote: > > > Hi > > > > > >

RE: gui with perl modules

2003-02-16 Thread Beau E. Cox
Hi - welcome to Perl! > -Original Message- > From: Mikel Rodriguez [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 16, 2003 3:48 AM > To: [EMAIL PROTECTED] > Subject: gui with perl modules > > > First of all I would like to introduce myself. I am new to the > list and this > is my firs

RE: How to Konsole

2003-02-16 Thread Beau E. Cox
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 withi

Re: How to Konsole

2003-02-16 Thread Benjamin Jeeves
What I wanted to do was if say HELLO was found within a text file the script would open a xterm and display a message within that xterm say like I have found HELLO in name of text file. My script that I have do so far work but wanted to add a method like that the script runs as a server and I

Tk module error

2003-02-16 Thread km
hi all , i am installing the module Tk804.0_24 from CPAN. but i get the following error while 'make' ing and couldnt install it : -error msg cd pTk && make DEFINE="" make[1]: Entering directory `/home/km/Tk804.024/pTk' gcc -c -I.. -I/

Re: gui with perl modules

2003-02-16 Thread Mikel Rodriguez
Thank you for your response. I have taken your addive and used the "perl -MCPAN -e shell" command and then executed a install Tk Howevere, I cpan encountered errors wile making the module. Im sure it will be hard to tell what is going on with just the error mesg, but does anyone have a general is

RE: How to Konsole

2003-02-16 Thread Beau E. Cox
Ok - > -Original Message- > From: Benjamin Jeeves [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 16, 2003 4:32 AM > To: Beau E. Cox > Cc: [EMAIL PROTECTED] > Subject: Re: How to Konsole > > > What I wanted to do was if say HELLO was found within a text file > the script > would op

Re: How to Konsole

2003-02-16 Thread ktb
On Sun, Feb 16, 2003 at 11:18:32AM +, Benjamin Jeeves wrote: > > 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. OK I'm going to post the following in hopes that

Re: How to get the script line number on demand

2003-02-16 Thread Harry Putnam
"John W. Krahn" <[EMAIL PROTECTED]> writes: > print 'Program name: ', __FILE__, "\n"; > print 'Current script line: ', __LINE__, "\n"; > print 'Current package: ', __PACKAGE__, "\n"; Thanks.. I'd seen those first too in a few places but blithely zipped over them not realizing what they were. Th

RE: gui with perl modules

2003-02-16 Thread Beau E. Cox
Hi Mikel - > -Original Message- > From: Mikel Rodriguez [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 16, 2003 4:57 AM > To: Beau E. Cox; [EMAIL PROTECTED] > Subject: Re: gui with perl modules > > > Thank you for your response. > I have taken your addive and used the "perl -MCPAN -

Re: problem executing perl script

2003-02-16 Thread Wiggins d'Anconia
John Lin wrote: Hi list, I have written a perl CGI script that basically executes a system command via an open command like so: open (COMHANDLE, '/usr/local/bin/gpg --no-tty --list-keys |') or die "can not list keys \n"; print ; close (COMHANDLE) or die "can not close COMHANDLE \n"; For some

Re: problem executing perl script

2003-02-16 Thread Wiggins d'Anconia
Wiggins d'Anconia wrote: John Lin wrote: As another side note if you are planning on doing anything complex you might want to have a look at the GnuPG::Interface module: http://search.cpan.org/author/FTOBIN/GnuPG-Interface-0.33/lib/GnuPG/Interface.pm http://danconia.org -- To unsubscribe

Re: gui with perl modules

2003-02-16 Thread Wiggins d'Anconia
Beau E. Cox wrote: I almost *always* use this old-style config/make/install sequence - rather than the CPAN shell - because I feel like I have more control of the process and I can read the README, INSTALL, etc. files before starting. Just haven't read up on CPAN enough ;-) (neither had I u

help with (do $ENV{HOME})

2003-02-16 Thread ktb
I've read the faq on "do" and looked around the web but can't discover what I'm doing wrong. I have a file named "text" with the following line it it - $name = "kent"; My prog contains the following - #!/usr/bin/perl use diagnostics; use strict; use warnings; do "$ENV{HOME}/scratch/address_book/

RE: gui with perl modules

2003-02-16 Thread Beau E. Cox
Yeah, but... > -Original Message- > From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 16, 2003 6:20 AM > To: Beau E. Cox > Cc: [EMAIL PROTECTED] > Subject: Re: gui with perl modules > > > > > Beau E. Cox wrote: > > > > > I almost *always* use this old-style

Re: help with (do $ENV{HOME})

2003-02-16 Thread Wiggins d'Anconia
ktb wrote: I've read the faq on "do" and looked around the web but can't discover what I'm doing wrong. I have a file named "text" with the following line it it - $name = "kent"; My prog contains the following - #!/usr/bin/perl use diagnostics; use strict; use warnings; do "$ENV{HOME}/scratch

RE: help with (do $ENV{HOME})

2003-02-16 Thread Beau E. Cox
Hi - > -Original Message- > From: ktb [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 16, 2003 6:52 AM > To: [EMAIL PROTECTED] > Subject: help with (do $ENV{HOME}) > > > I've read the faq on "do" and looked around the web but can't discover > what I'm doing wrong. > > I have a file

Re: gui with perl modules

2003-02-16 Thread Wiggins d'Anconia
Beau E. Cox wrote: Yeah, but... Ditto. 1) I am a creature of habit and my fingers have 'memorized' perl Makefile.PL, make, ... 2) In the early days of the CPAN shell I had a lot of problems and my brain can't forget them... 3) I am a closet power freak, and I like feeling I am in contro

Re: help with (do $ENV{HOME})

2003-02-16 Thread ktb
On Sun, Feb 16, 2003 at 12:05:57PM -0500, Wiggins d'Anconia wrote: > > > ktb wrote: > >I've read the faq on "do" and looked around the web but can't discover > >what I'm doing wrong. > > > >I have a file named "text" with the following line it it - > >$name = "kent"; > > > >My prog contains the f

Re: problem executing perl script

2003-02-16 Thread R. Joseph Newton
John Lin wrote: > Hi list, > > I have written a perl CGI script that basically executes a system > command via an open command like so: > > open (COMHANDLE, '/usr/local/bin/gpg --no-tty --list-keys |') or die > "can not list keys \n"; > print ; > close (COMHANDLE) or die "can not close COMHANDLE \

Quickie

2003-02-16 Thread dan
What's the equivalent to $variable++ but to decrease a number instead of increase? Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: writing a script

2003-02-16 Thread Michael Kelly
On Sat, Feb 15, 2003 at 01:03:50PM -0800, brady jacksan wrote: > Hi Hi, > I am writing a script that reads file from command line and places > each line from the files into an array, and prints out the total lines > read and then > each line read. > > while (defined ($files = <>)) { >

re:felloship chat

2003-02-16 Thread sandy brandes
it keeps tellinj me to push refresh button,No siccess.Then it says push reload button on browser. But can you please tell me hoe to do this? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

automatic telnet

2003-02-16 Thread blue
Hi I have used NEt::telnet for remote login and automatic login to oen freebsd , it's ok and i could login ,but how can i telnet as root? i mean how can i do "su - root" with net::telnet ? or is there other way to do that ? Sky __ Do you Yahoo!? Y

Re: Quickie

2003-02-16 Thread John W. Krahn
Dan wrote: > > What's the equivalent to $variable++ but to decrease a number instead of > increase? $variable-- John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: help with (do $ENV{HOME})

2003-02-16 Thread Dave K
ktb, Wiggins, Another perspective: text.txt contains: return 'My Full Name with middle initial'; #!/usr/bin/perl -w use strict; my $name = do "./text.txt"; print "$name\n"; prints: My Full Name with middle initial > > The problem I'm having is my print statement just prints a new line > >

linked lists?

2003-02-16 Thread JC(oesd)
I just had a friend explain in some little detail about linked lists in C using structures. How would such a thing be done with Perl? This may help me understand C's version a little better. If you need more information than this, I can provide it...I think :) - Jim -- To unsubscribe, e-mail

Visual Perl/TK

2003-02-16 Thread Carlos Diaz
Does anyone know about the existence of any good Visual Perl/Tk application for both windows and linux? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: automatic telnet

2003-02-16 Thread Wiggins d'Anconia
blue wrote: Hi I have used NEt::telnet for remote login and automatic login to oen freebsd , it's ok and i could login ,but how can i telnet as root? Well to login as root is different than to su in as root, which do you need? i mean how can i do "su - root" with net::telnet ? or is there

Re: linked lists?

2003-02-16 Thread Wiggins d'Anconia
JC(oesd) wrote: I just had a friend explain in some little detail about linked lists in C using structures. How would such a thing be done with Perl? This may help me understand C's version a little better. If you need more information than this, I can provide it...I think :) Well a linked

proxy server

2003-02-16 Thread Mat Harris
i am trying to write a mini proxy server to authenticate and run some other checking on http requests before they are passed to a squid server. I have got the following program which works for very basic requests but cannot deal with forms or anything complex. I will detail the problems after the

Re: linked lists?

2003-02-16 Thread R. Joseph Newton
Hi Jim, "JC(oesd)" wrote: > I just had a friend explain in some little detail about linked lists in C > using structures. > > How would such a thing be done with Perl? In brief, Perl already has a built-in linked list structure. It is called Array. > This may help me understand C's > version a

client side password protection

2003-02-16 Thread Patricia Hinman
I've come up with a system that is pretty hard to crack I think. I used flash to read a txt file that is created by a perl script. Perl makes a jumbled array of letters and numbers and directory info and puts it into a txt file. With flash you can't see the source code. In fact the encryptio

eegads! File::Copy not copying

2003-02-16 Thread Patricia Hinman
Everything "was" perfect in my little program. I gave it a test run today. My file which copies some demofiles is sending blank empty files. I've used -e to make sure it exists and checked the return value on the copy(). Both check out fine. But the files have no content. Any suggestions? Th

Re: eegads! File::Copy not copying

2003-02-16 Thread Wiggins d'Anconia
Precedence. Patricia Hinman wrote: Everything "was" perfect in my little program. I gave it a test run today. My file which copies some demofiles is sending blank empty files. I've used -e to make sure it exists and checked the return value on the copy(). Both check out fine. But the files h

Out Of memory

2003-02-16 Thread Mike Blezien
Hello All, We installed a shopping cart program awhile back, written perl, which was working fine... no problems.. then when we upgraded the cart the other day, then started getting an "Out of Memory" errors from one of the scripts, but not all the time, and I've been working on this most day,

Re: eegads! File::Copy not copying

2003-02-16 Thread Patricia Hinman
Thankyou for the advice, but it still sends blanks. Should I open up each individual file and copy it using open statements? Isn't there a switch which checks for file content. I haven't had the need to check that till now. --- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > Precedence. > > Pat

Re: eegads! File::Copy not copying

2003-02-16 Thread Patricia Hinman
I combed the file and found an open statement in the wrong place. Thankyou everyone for all your help. It is appreciated! __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- To unsubscribe, e-mail: [E

Re: eegads! File::Copy not copying

2003-02-16 Thread R. Joseph Newton
Patricia Hinman wrote: > Everything "was" perfect in my little program. I gave > it a test run today. My file which copies some > demofiles is sending blank empty files. I've used -e > to make sure it exists and checked the return value on > the copy(). Both check out fine. But the files have

Re: linked lists?

2003-02-16 Thread Felix Geerinckx
on Sun, 16 Feb 2003 18:29:23 GMT, [EMAIL PROTECTED] (Jc) wrote: > How would such a thing be done with Perl? This may help me > understand C's version a little better. You may want to take a look at O'Reilly's "Mastering Algorithms with Perl", by Jon Orwant, Jarkko Hietaniemi and John Macdonald,