Re: [OT?] perl -wT error

2002-11-27 Thread Gordon Messmer
On Wed, 2002-11-27 at 08:04, Will Mc Donald wrote: > > The -w switch to perl is "strict" I believe, which means > it'll notify you if it thinks anything's amiss. -w (or "use warnings", I think) is warnings. "use strict" is strict, and strict it is indeed. -- redhat-list mailing list unsubsc

Re: [OT?] perl -wT error

2002-11-27 Thread Will Mc Donald
From: "Stone, Timothy" <[EMAIL PROTECTED]> > Well, this causes a problem ... I keep getting an error reporting: > > Insecure ENV{$PATH}... Does your PATH have ./ in it? The -w switch to perl is "strict" I believe, which means it'll notify you if it thinks anything's amiss. Will. -- red

RE: [OT?] perl -wT error

2002-11-27 Thread Gordon Messmer
On Wed, 2002-11-27 at 08:36, Stone, Timothy wrote: > > Gordon... the short answer is that the program came that way. I > downloaded from the CVS repository just today. It's working without > the -T switch. It seems to me that the default runtime state of the > application would correctly impleme

RE: [OT?] perl -wT error

2002-11-27 Thread Stone, Timothy
L PROTECTED]] > Sent: Wednesday, November 27, 2002 11:24 > To: [EMAIL PROTECTED] > Subject: Re: [OT?] perl -wT error > > > On Wed, 2002-11-27 at 07:52, Stone, Timothy wrote: > > I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT > > &

Re: [OT?] perl -wT error

2002-11-27 Thread Gordon Messmer
On Wed, 2002-11-27 at 07:52, Stone, Timothy wrote: > I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT > > Well, this causes a problem ... I keep getting an error reporting: > Insecure ENV{$PATH}... Did the program come with -wT, or did you just add them? Don't expect any perl

Re: [OT?] perl -wT error

2002-11-27 Thread Hardy Merrill
Stone, Timothy [[EMAIL PROTECTED]] wrote: > List, > > I will concede that this is probably a question better for a perl list... but I'm >not a regular perl type and thus not a perl list member. > > I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT > > Well, this causes a prob

Re: [OT?] perl -wT error

2002-11-27 Thread Emmanuel Seyman
On Wed, Nov 27, 2002 at 10:52:55AM -0500, Stone, Timothy wrote: > > I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT > Well, this causes a problem ... I keep getting an error reporting: > Insecure ENV{$PATH}... This means that $ENV{$PATH} is tainted, that its contents have not

Re: [OT?] perl -wT error

2002-11-27 Thread Thomas Ribbrock
On Wed, Nov 27, 2002 at 10:52:55AM -0500, Stone, Timothy wrote: [...] > I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT > > Well, this causes a problem ... I keep getting an error reporting: > > Insecure ENV{$PATH}... [...] man perlsec should get you further. Cheerio, Th

[OT?] perl -wT error

2002-11-27 Thread Stone, Timothy
List, I will concede that this is probably a question better for a perl list... but I'm not a regular perl type and thus not a perl list member. I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT Well, this causes a problem ... I keep getting an error reporting: Insecure ENV{

Re: [OT] Perl Telnet script[solved]

2000-09-13 Thread Michael Butler/CanEast/IBM
[EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: [OT] Perl Telnet script On Wed, 13 Sep 2000, Michael Butler/CanEast/IBM wrote: > > Hi Brett, > Thanks for the help. At least I know the code works. I can't connect to a > RedHat 6.2 box or any one of 10 AIX boxes. Int

Re: [OT] Perl Telnet script

2000-09-13 Thread Mikkel L. Ellertson
On Wed, 13 Sep 2000, Michael Butler/CanEast/IBM wrote: > > Hi Brett, > Thanks for the help. At least I know the code works. I can't connect to a > RedHat 6.2 box or any one of 10 AIX boxes. Interesting that it would work > for you. I'll try by ip address although I know that I can connect by nam

Re: [OT] Perl Telnet script

2000-09-13 Thread Bret Hughes
> its just that I get the response that it is waiting for a command prompt. > > Thanks again > Mike > > Bret Hughes <[EMAIL PROTECTED]> on 09/12/2000 08:18:02 PM > > Please respond to [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > cc: > Subject:

Re: [OT] Perl Telnet script

2000-09-13 Thread Michael Butler/CanEast/IBM
ting for a command prompt. Thanks again Mike Bret Hughes <[EMAIL PROTECTED]> on 09/12/2000 08:18:02 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: [OT] Perl Telnet script Michael Butler/CanEast/IBM wrote: > Sorry for the off topic question but I'm

Re: [OT] Perl Telnet script

2000-09-12 Thread Bret Hughes
Michael Butler/CanEast/IBM wrote: > Sorry for the off topic question but I'm scratching my head here. I've > written a perl script to do a telnet to a server and run an arbitrary > command. Doing a "who" on the server indicates that I do indeed get > connected. However, after the specified timeou

Re: [OT] Perl Telnet script

2000-09-12 Thread Bret Hughes
Michael Butler/CanEast/IBM wrote: > Sorry for the off topic question but I'm scratching my head here. I've > written a perl script to do a telnet to a server and run an arbitrary > command. Doing a "who" on the server indicates that I do indeed get > connected. However, after the specified timeou

RE: [OT] Perl Telnet script

2000-09-12 Thread Michael Butler/CanEast/IBM
ler/CanEast/IBM [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 12, 2000 5:28 AM To: [EMAIL PROTECTED] Subject: [OT] Perl Telnet script Sorry for the off topic question but I'm scratching my head here. I've written a perl script to do a telnet to a server and run an arbitrary comman

RE: [OT] Perl Telnet script

2000-09-12 Thread John Losey
y, September 12, 2000 5:28 AM To: [EMAIL PROTECTED] Subject: [OT] Perl Telnet script Sorry for the off topic question but I'm scratching my head here. I've written a perl script to do a telnet to a server and run an arbitrary command. Doing a "who" on the server indicates that

[OT] Perl Telnet script

2000-09-12 Thread Michael Butler/CanEast/IBM
Sorry for the off topic question but I'm scratching my head here. I've written a perl script to do a telnet to a server and run an arbitrary command. Doing a "who" on the server indicates that I do indeed get connected. However, after the specified timeout I get "connection timed out waiting for

Re: [OT] perl question [answered]

2000-09-07 Thread Bret Hughes
= $value; > } > . > . > . > } > > The result in this case will be two hash values defined: > $FORM(name) = "Bill Clinton"; > $FORM(address) = "1600 Pennsylvania Apt #4"; > > Good luck, > Ron Brinkman > > -Orig

RE: [OT] perl question [answered]

2000-09-07 Thread Ron Brinkman
ot;1600 Pennsylvania Apt #4"; Good luck, Ron Brinkman -Original Message- From: Bill Carlson [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, September 06, 2000 8:20 AM To: [EMAIL PROTECTED] Subject:Re: [OT] perl question [answered] On Wed, 6 Sep 2000, Bret Hughes wrote: &

Re: [OT] perl question [answered]

2000-09-06 Thread Charles Galpin
On Wed, 6 Sep 2000, Bret Hughes wrote: > Thanks for the tips guys. As I was looking at my code, I > realied that I had not actually tried the combination that I > posted. What i did try was: > > @resarray= split /"\n"/, $resstring; > > Which for some reason I can not discern, puts everything

Re: [OT] perl question [answered]

2000-09-06 Thread Bill Carlson
On Wed, 6 Sep 2000, Bret Hughes wrote: > Thanks for the tips guys. As I was looking at my code, I > realied that I had not actually tried the combination that I > posted. What i did try was: > > @resarray= split /"\n"/, $resstring; > > Which for some reason I can not discern, puts everything

Re: [OT] perl question [answered]

2000-09-06 Thread Bret Hughes
Bret Hughes wrote: > Please forgive the off topic post but I don't subscribe to a > perl list, and hate to for the occasional question. > > OK, I give up. I know this should be a simple task but I > cannot get it to work. I am using the perl libwww request > object to retrieve the results of a

Re: [OT] perl question

2000-09-06 Thread Charles Galpin
dump the text to a file and do a od -c file to see the end of line cahrs (if they exist). they might be DOS end of line chars. what kind of processing do you want to do? Sometimes it's even easier to have the text as one long string anyway. On Wed, 6 Sep 2000, Bret Hughes wrote: > Please for

Re: [OT] perl question

2000-09-06 Thread Osyrys
I send you (privately) a sample to look through, if that doesn't work, (and this may help others with some things too) there is a place called All Experts at http://www.allexperts.com where you can ask people questions for free. I used to volunteer there when I had more time. They

Re: [OT] perl question

2000-09-06 Thread Joe Brenner
> Please forgive the off topic post but I don't subscribe to a > perl list, and hate to for the occasional question. Don't neglect the usenet newsgroups. There's always comp.lang.perl.misc, or possibly comp.infosystems.www.misc (or you might even try comp.infosystems.www.authoring.cgi, which ha

[OT] perl question

2000-09-05 Thread Bret Hughes
Please forgive the off topic post but I don't subscribe to a perl list, and hate to for the occasional question. OK, I give up. I know this should be a simple task but I cannot get it to work. I am using the perl libwww request object to retrieve the results of a POST. I get the result back (ht

Re: OT : perl to do this?

2000-03-03 Thread Alan Mead
Back in the old DOS days I coded some PCX routines in which I learned to lead with the escape character to make the decompress logic easier. So "BCCCDD" would become "!A4B!C3DD". If the data literally had this structure, you could compress further by using a numeral as the escape (and sa

Re: [REDHAT] Re: OT : perl to do this?

2000-03-03 Thread David Kramer
On Fri, 3 Mar 2000, Bret Hughes wrote: > looks like compression to me and DD < D!2 > > :) > > Bret > > Brian wrote: > > > > On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote: > > > > > Hi, > > > > > > Suppose I have a string of "BCCCDD" > > > And I wanna use perl to convert this to A!4BC!

Re: OT : perl to do this?

2000-03-03 Thread Bret Hughes
looks like compression to me and DD < D!2 :) Bret Brian wrote: > > On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote: > > > Hi, > > > > Suppose I have a string of "BCCCDD" > > And I wanna use perl to convert this to A!4BC!3DD > > what should I do ? > > Is there a ready function (grep???) t

Re: OT : perl to do this?

2000-03-02 Thread Brian
On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote: > Hi, > > Suppose I have a string of "BCCCDD" > And I wanna use perl to convert this to A!4BC!3DD > what should I do ? > Is there a ready function (grep???) to achieve this ? yes perl can do this. their is no built in function to just magic

OT : perl to do this?

2000-03-02 Thread ::--Koshy Kerteya--~!~
Hi, Suppose I have a string of "BCCCDD" And I wanna use perl to convert this to A!4BC!3DD what should I do ? Is there a ready function (grep???) to achieve this ? Thanks for any help on this!! -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.

Re: [OT] Perl

2000-02-13 Thread Hossein S. Zadeh
On Sun, 13 Feb 2000, Charles Galpin wrote: > Hi Ed > > I find the perl man pages very readable. man perl will list all the other > perl man pages (they are split up into categories - for example perlfunc > lists builtin functions, perlre deals with regular expressions etc). Also try "perldoc"

Re: [OT] Perl

2000-02-13 Thread Charles Galpin
Hi Ed I find the perl man pages very readable. man perl will list all the other perl man pages (they are split up into categories - for example perlfunc lists builtin functions, perlre deals with regular expressions etc). As far as your specific task, it sounds like you have the reading part f

[OT] Perl

2000-02-11 Thread Edward Dekkers
OK, I've got it so far that I'm dynamically creating HTML pages using CGI/Perl from a comma delimited text file which resides on the ISP server. I have also learned the query variable and can send values to the pearl script and have it return matches based on the items. All from scouting documents

Re: OT: Perl flexing (was: Re: script)

1999-12-03 Thread Charles Galpin
> > Surely someone can beat 9 bytes.. Anyone? Anyone? Beuller? Wait! I can! > > #!/usr/bin/perl -pi.bak > y/\t/|/; > > That's 8 bytes. :-P ok, Beuller here :). try 7 y/\t/|/ The ';' can be excluded if it's a one liner. But who's counting. > : all conversion is done inplace .. thanks to

OT: Perl flexing (was: Re: script)

1999-12-01 Thread Jason Costomiris
On Thu, Dec 02, 1999 at 02:18:37PM +1100, Iain Wade wrote: : #!/usr/bin/perl -pi : s/\t/|/g; Surely someone can beat 9 bytes.. Anyone? Anyone? Beuller? Wait! I can! #!/usr/bin/perl -pi.bak y/\t/|/; That's 8 bytes. :-P : all conversion is done inplace .. thanks to Charles Galpin for the id