Re: MIME::Lite

2003-03-27 Thread Horace Franklin Jr.
Thanks, I will. - Original Message - From: "Sp0oKeR" <[EMAIL PROTECTED]> To: "Scot Robnett" <[EMAIL PROTECTED]>; "Horace Franklin Jr." <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 1:22 PM Subject: Re: MIME::Lite > Try in your shell > > perl -MCPAN -e 'insta

RE: The very un-useful 'premature end of script headers' error me ssage

2003-03-27 Thread Bob Showalter
Cool Hand Luke wrote: > Hi there, > I am having the toughest time trying to run perl scripts on this > Stronghold Apache SSL server I am working with for my company. > Everything I run returns the same 'premature end of script headers' > error message. This has happened with every script I've r

Re: Problems with html output

2003-03-27 Thread Rob Anderson
Your logic looks find, and works on my machine (although I made it command line) Try switching on warnings (#!/usr/local/bin/perl -w) and use strict (use strict;) Probably most likely is that you script can't read the file. You should really always check if a file has been opened successfully yo

screen size question

2003-03-27 Thread Luinrandir Hernsen
how do I find the current screen size of someone running my perl program? many thanks Lou

question about perl.

2003-03-27 Thread Luinrandir Hernsen
How do I run another perl program from within another perl program? if (x=0) { perl_ program_ 1.pl } else { perl_program_2 } exit;

Re: question about perl.

2003-03-27 Thread Dennis Stout
If you are going to not even return to the program, exec. if (condition == true) { exec "program"; } else { exec "otherprogram"; } If you want to return to it but not do anything with the programs output, system. if (condition == true) { system "program"; } else { system "otherprogra

Re: screen size question

2003-03-27 Thread Jeff Westman
system("stty -a") should get you what you want I don't know if perl has anything 'built-in'. -JW --- Luinrandir Hernsen <[EMAIL PROTECTED]> wrote: > how do I find the current screen size of someone running my perl program? > many thanks > Lou __

Re: question about perl.

2003-03-27 Thread drieux
On Thursday, Mar 27, 2003, at 11:07 US/Pacific, Luinrandir Hernsen wrote: How do I run another perl program from within another perl program? if (x=0) { perl_ program_ 1.pl } else { perl_program_2 } exit; there are several ways of solving this: a. perldoc -f system b. perldoc

Re: screen size question

2003-03-27 Thread Luinrandir Hernsen
Ok i tried it... do I have to parse the info or what? or do I set it up in an if/ifels/else ? sorry if I sound dumb, but i'm just learning perl. thanks Lou - Original Message - From: "Jeff Westman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 3:16 PM Subject

Replacing/deleting text in a text file, part deux

2003-03-27 Thread Scot Robnett
Looking at the code below, can anyone help me figure out how to compare the e-mail addresses in @addresses with the e-mail addresses in @emails and print out to the new file as shown, but minus the matching addresses? Scot R. inSite #!/usr/bin/perl -w use CGI; use CGI::Carp qw(fatalsToBrowser);

Fw: question about perl.

2003-03-27 Thread Dennis Stout
Sorry, for some reason I'm blocked from emailing RoadRunner accounts, by Roadrunner. Here is a forward of an email I jsut sent you personally but bounced. It's Perl CGI related, so it's not offtopic for hte list ... but oculd be an annoyance for some, possibly. Dennis Stout S.T.O.U.T. = Syntheti

Fw: question about perl.

2003-03-27 Thread Dennis Stout
. I just sent myself an email. Dennis Stout S.T.O.U.T. = Synthetic Technician Optimized for Ultimate Troublshooting - Original Message - From: "Dennis Stout" <[EMAIL PROTECTED]> To: "Dennis Stout" <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 13 3

RE: screen size question

2003-03-27 Thread Peter Kappus
Hi Lou, Yes, as Jeff pointed out, if you're running it from a console, system("stty -a") should give you the rows/columns and a bunch of other usefull stuff. If, however, you're talking about screen resolution and you're running your script as a CGI and sending the results to a browser (wh

Re: Replacing/deleting text in a text file, part deux

2003-03-27 Thread Wiggins d'Anconia
Scot Robnett wrote: Looking at the code below, can anyone help me figure out how to compare the e-mail addresses in @addresses with the e-mail addresses in @emails and print out to the new file as shown, but minus the matching addresses? Didn't look much at the code, sorrybut here are some pl

Re: question about perl.

2003-03-27 Thread Wiggins d'Anconia
Luinrandir Hernsen wrote: How do I run another perl program from within another perl program? if (x=0) { perl_ program_ 1.pl } else { perl_program_2 } exit; Surprised that neither of the other two (especially drieux) asked the question, "Why would you want to do such a thing?" ;-)... It would b

Re: question about perl.

2003-03-27 Thread drieux
On Thursday, Mar 27, 2003, at 16:16 US/Pacific, Wiggins d'Anconia wrote: Luinrandir Hernsen wrote: How do I run another perl program from within another perl program? if (x=0) { perl_ program_ 1.pl } else { perl_program_2 } exit; Surprised that neither of the other two (especially drieux) asked th

Re: question about perl.

2003-03-27 Thread Wiggins d'Anconia
drieux wrote: On Thursday, Mar 27, 2003, at 16:16 US/Pacific, Wiggins d'Anconia wrote: the full on generic nature of the programme, which as you will note is psuedo code since (x=0) is not a valid statement in perl... so well, I was trying to be Nice... { he said sheepishly } Yeh and while