RE: Protected WEB pages in Perl

2002-08-14 Thread Steven Vargas
Hey Alex, I would be great if you could helps us out a little more. What kind of server are you using? IIS? Check the help section of the IIS Management Console: Start Run mmc on how to restrict access to directories. If you want to do the restriction based on cookies then you can use

Re: Network Programming

2002-08-14 Thread Mat Harris
what sort of network programming, what do you want to achieve? On Sun, Aug 11, 2002 at 08:45:25PM +, [EMAIL PROTECTED] wrote: Hello there. Do you know where can I find a good Perl Network Programming Tutorial?? Thank you.

Submitting Form Passes Old Values

2002-08-14 Thread Hal Vaughan
I've got what amounts to a control panel or preferences settings system that uses HTML and perl scripts. I'm running this on Mandrake Linux 8.2 with Apache 1.3. I have two pages that interact with each other. The 2nd page, the one I'm having problems with, has a number of checkboxes, drop

Re: new lines and stupidity

2002-08-14 Thread David T-G
Jimmy -- ...and then Jimmy George said... % % Hello World Hi! % % David pointed out that the \n is not applicable in the context I was in % and that the html br was. Of course! Only silly tired people like me % do dumb things like that after having been using them in text % definitions for

RE: Submitting Form Passes Old Values

2002-08-14 Thread Hanson, Rob
Running Perl as a CGI will *not* cache any variables (or anything else). Each time the script is called the Perl executable will be started, and when finished it will free all memory that it was using. If you are using mod_perl it is a little different. mod_perl will cache a script (and any

RE: Cache problem in IE

2002-08-14 Thread Bob Showalter
-Original Message- From: Niko Gunadi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 9:23 PM To: Beginners cgi Subject: Cache problem in IE Hi, I developed an online polling system where ppl can vote online. This voting is done in a computer room where people come

Re: Checking Form data

2002-08-14 Thread David T-G
Jim, et al -- ...and then Jim Lundeen said... % % on a side note: does anyone know the % of people that actually disable % javascript in their browser? can javascript actually be used to harm (lets 100% of the people on my computer do :-) % pretend those annoying pop-up windows don't

Re: REMOVE ME from your mailing list!

2002-08-14 Thread WyvernGod
You guys are being very childish.. I myself have sent an e-mail to the unsubscribe e-mail address on another of my names and it has yet to unsubscribe that e-mail ... so maybe you should realize that it may not be working correctly and not just assume that someone is stupid And yes he has

RE: 7xx's et al

2002-08-14 Thread Kipp, James
Hi David and thanks True 755 is required for both read and execute by the group and world. But all the directories and html code in my home site are all 744. I have the cgi-bin folder on 711 as that I thought (under Apache anyway) was supposedly only accessible by the owner but the

[ADMIN - THREAD CLOSED] Re: REMOVE ME from your mailing list!

2002-08-14 Thread Kevin Meltzer
Hey folks, We don't need to have these sort of comments and flames to the list. I had emailed this person off list to give him other ways to unsubscribe (and have not heard back). Many times, people seem to try to unsubscribe from email addresses which aren't the ones subscribed to the list.

problems with CGI module

2002-08-14 Thread Pam Derks
HI, I'm having difficulties using the CGI module, I've read over the module but it's not sinking in. Any help would be greatly appreciated -- Pam the html form can be seen at: www.unex.berkeley.edu/test2/av_form.html the output of the form is sent to a file and also emailed the problems

Re: problems with CGI module

2002-08-14 Thread Kevin Meltzer
Hi Pam, On Wed, Aug 14, 2002 at 08:37:46AM -0700, Pam Derks ([EMAIL PROTECTED]) said something similar to: [snip] elsif ($av_equip eq slide || tvvcr || lcd || boombox || overhead || opaque || flipchart || projection) { This is basically like saying: elsif ($foo eq bar || 1 || 1 || 1 || 1)

Re: problems with CGI module

2002-08-14 Thread Pam Derks
Hi Kevin, I've changed per your suggestion to: elsif ($av_equip eq slide) { if ($date_slide eq ) { print $q - h3(), Please enter date needed for 35mm Slide Projector.; } } but the error checking isn't working, i.e. if I've got 35mm checked, the error message isn't being displayed any

Re: problems with CGI module

2002-08-14 Thread Kevin Meltzer
Well, what exactly is the value of $av_equip and $date_slide at this time? Add a few print statments in for debugging, use CGI::dump() to see what is really being passed in. You may not be storing the values you expect in these variables. Cheers, Kevin On Wed, Aug 14, 2002 at 09:28:22AM -0700,

Help!! Retrieving Image File

2002-08-14 Thread Perl
Hello All, I created a simple http upload file routine that uploads file into my accounts sub folder uploads, /home/myaccount/uploads. This is already running. Now what I wanted to do is retrieve the uploaded file from the browser, and display the content in the browser if it is an image or a

Re: Help!! Retrieving Image File

2002-08-14 Thread Connie Chan
Code 1: It didnt work... #!/usr/bin/perl use CGI; $query = new CGI; my $filepath='/home/myaccount/uploads/laptop.jpg'; print $query-header('image/jpeg'); print $filepath; Of cause, you didn't open the file and read the file. You are trying to print

Better regrex method

2002-08-14 Thread Mike(mickako)Blezien
Hello, I'm working on a project where I need to split various tag numbers, from a standard set of prefixes, entered into a form and check the number against a database. A sample test code that works, but was wondering if there's a better way to utilize the regrex of this code: # @tags

RE: Better regrex method

2002-08-14 Thread Hanson, Rob
This works for me... # sample data my @tags = qw(K001900 L001234 GP001675); my @prefixs = qw(SP 8 L K GP TP MP); # join them with pipes for use in the regex my $prefix = join('|', @prefixs); # match prefix against each tag, seprate the parts. # the o switch cause the regex to only compile

Re: Better regrex method

2002-08-14 Thread Mike(mickako)Blezien
Hi Rob, Yea, I think that would work better, much appreciated ;) Hanson, Rob wrote: This works for me... # sample data my @tags = qw(K001900 L001234 GP001675); my @prefixs = qw(SP 8 L K GP TP MP); # join them with pipes for use in the regex my $prefix = join('|', @prefixs); #

problems with sendmail within a cgi

2002-08-14 Thread no longer exists
Hello, i have used cgi-lib for awhile, but have just been given the job of securing my companies perl files and have started using cgi.pm plus all the security restrictions and have come across a problem. I have this code that redirects just fine, gives me no errors, yet will NOT send out the

Re: problems with sendmail within a cgi

2002-08-14 Thread Wiggins d'Anconia
A cursory look at the code appears ok, you are positive that there are no errors given, have you tried running it command line?? What does sendmail's log file look like??? The program may be sending to sendmail, it may not be complaining back immediately, but it might be complaining later

Re: Submitting Form Passes Old Values

2002-08-14 Thread Wiggins d'Anconia
In other words what Rob is asking ;-) is are you using mod_perl or plain cgi, and in the case of plain CGI, what browser are you using? what version of that browser? and have you tried other browsers, on other OSes, on other computers with what results??? http://danconia.org Hanson, Rob

Re: system command to perl variable

2002-08-14 Thread Sudarshan Raghavan
On Wed, 14 Aug 2002, Jose Malacara wrote: Hello. I was wondering if there is a way to capture a system command into a perl variable. I know this is incorrect, but I basically want to do something like this: $date = system(date); print Today is $date.; You can use backticks instead,

Re: Help with IO::Socket::INET

2002-08-14 Thread Felix Geerinckx
on Wed, 14 Aug 2002 02:32:30 GMT, [EMAIL PROTECTED] (Tim Musson) wrote: Ok, can you point me to an example? I have never used that module before, and it has been probably 4 years since I have done something like this. From a browser what would happen is 1. hit the router/switch 2. respond

Re: Uptime on Remote computer?

2002-08-14 Thread Mat Harris
you could try snmp but that (in my experience) always reports the wrong time if over 2 days. On Sun, Aug 11, 2002 at 01:19:13PM -0800, Mark Weisman wrote: Hello List: What is the command structure to grab an uptime request from a remote computer? I have several systems in my organization

parsing tripwire logfile

2002-08-14 Thread Mat Harris
Hi, I want to automate my tripwire log reporting through email but having it send me an email every tem minutes even when it hasn't found anything is a bit annoying. What I want ot do is parse through the viplation statistics and of any of them are greater than 0, THEN email it. Here is an

open file into hash

2002-08-14 Thread Jose Malacara
Hello. I was wondering if there was a way to open a file into a hash? I know this works for arrays, but was wondering if I this could be done for a hash also. I have a file called people.data, which contains two colums: jose2 karen 8 jason 9 tracey 1 Can

Re: open file into hash

2002-08-14 Thread Sudarshan Raghavan
On Wed, 14 Aug 2002, Jose Malacara wrote: Hello. I was wondering if there was a way to open a file into a hash? I know this works for arrays, but was wondering if I this could be done for a hash also. I have a file called people.data, which contains two colums: jose 2 karen

Re: open file into hash

2002-08-14 Thread Felix Geerinckx
on Wed, 14 Aug 2002 07:35:29 GMT, [EMAIL PROTECTED] (Jose Malacara) wrote: I have a file called people.data, which contains two colums: jose 2 karen 8 jason 9 tracey 1 Can someone tell me what I am doing wrong here: #! /usr/bin/perl -w open (INPUT,

Re: parsing tripwire logfile

2002-08-14 Thread Sudarshan Raghavan
On Sun, 11 Aug 2002, Mat Harris wrote: Hi, I want to automate my tripwire log reporting through email but having it send me an email every tem minutes even when it hasn't found anything is a bit annoying. What I want ot do is parse through the viplation statistics and of any of them are

Re: open file into hash

2002-08-14 Thread Andy Anderson
Hi: By first changing the % sign to a $ sign and then removing {jose} in the print line I got it to work. I tested it in both Windows and Linux environments with the same results. #!

Re: parsing tripwire logfile

2002-08-14 Thread Sudarshan Raghavan
On Wed, 14 Aug 2002, Sudarshan Raghavan wrote: On Sun, 11 Aug 2002, Mat Harris wrote: Hi, I want to automate my tripwire log reporting through email but having it send me an email every tem minutes even when it hasn't found anything is a bit annoying. What I want ot do is parse through

Re: open file into hash

2002-08-14 Thread Sudarshan Raghavan
On Wed, 14 Aug 2002, Andy Anderson wrote: Hi: By first changing the % sign to a $ sign and then removing {jose} in the print line I got it to work. I tested it in both Windows and Linux environments with the same results. The % specifies that the identifier is a hash and the $ means it is

Re: News from Prague

2002-08-14 Thread Jenda Krynicky
flooded. See you all when the water is down :-) Jenda The water is still going up, but the power is still on in our office. I did not go to work yesterday because they said noone should go to the center, but I could have. It seems we are safe here, It's strange how important a tiny

Re: timing delays

2002-08-14 Thread Joe Mecklin
Thanks for all the leads and suggestions. I couldn't quite wrap my mind around making select() work for what I want but Time::HiRes works great. Joe On Tue, 2002-08-13 at 14:55, drieux wrote: On Tuesday, August 13, 2002, at 12:20 , Joe Mecklin wrote: I'm trying to send a file as a

RE: Uptime on Remote computer?

2002-08-14 Thread Meidling, Keith, CTR, OSD-C3I
Here is a script I use to check system up time. You can specify a remote server as an argument and it will remotely check the uptime for that server. This goes into the perfmon stats and gets the information from there. Keith --cut here-

Re: Help with IO::Socket::INET

2002-08-14 Thread zentara
On Tue, 13 Aug 2002 22:08:47 -0400, [EMAIL PROTECTED] (Tim Musson) wrote: ### The next line is where I think I am having problems... ### If I uncomment, I seem to recall it displaying the html code from ### above (HTTP/1.0 200 OK, etc...). But what happens is it just hangs. # while ( $remote )

Re: Help with IO::Socket::INET

2002-08-14 Thread Tim Musson
Hey zentara, My MUA believes you used to write the following on Wednesday, August 14, 2002 at 8:20:39 AM. z It works for me if I comment out the print $remote and z uncomment the while ( $remote ) { print; } Grrr, I just tried a different http server, and it works just fine...

RE: How does ZOMBIE/defunct affect the system?

2002-08-14 Thread Bob Showalter
-Original Message- From: Sudarshan Raghavan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 7:49 AM To: Perl beginners Subject: Re: How does ZOMBIE/defunct affect the system? On Tue, 13 Aug 2002, Ahmed Moustafa wrote: Ahmed Moustafa wrote: Drieux wrote:

Reading Data From simicolon delimited file

2002-08-14 Thread Mohd Shiine
Hi all Please i need a help. My problem is that i need to read a csv file format that contain an arabic data and generate and html page that contains the data, using cgi script writen in perl, the text file is under solaris system running apache server. the text file was uploaded into the

RE: Perl from command line documentation

2002-08-14 Thread Kipp, James
found this with a google search, looks ok, hth http://www.codebits.com/p5be/ch17.cfm -Original Message- From: Mario [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 5:09 PM To: [EMAIL PROTECTED] Subject: Perl from command line documentation Hi all! I'm triying

Re: News from Prague

2002-08-14 Thread drieux
On Wednesday, August 14, 2002, at 03:33 , Jenda Krynicky wrote: psycho_rant This of course would not happen if you had used java rather than trying to do this in perl. Since while there is a Time::Warp module - there is no Water::Go::Away module in the CPAN /psycho_rant [..] I hope all is

Re: timing delays

2002-08-14 Thread drieux
On Wednesday, August 14, 2002, at 04:21 , Joe Mecklin wrote: Thanks for all the leads and suggestions. I couldn't quite wrap my mind around making select() work for what I want but Time::HiRes works great. Joe [..] http://search.cpan.org/author/JHI/perl-5.8.0/ext/Time/HiRes/HiRes.pm

RE: News from Prague

2002-08-14 Thread Nikola Janceski
[off topic] I think drieux has finally lost it. What *it* is, I do not know. Don't know if I have *it* either. -Original Message- From: drieux [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 10:36 AM To: begin begin Subject: Re: News from Prague On Wednesday,

RE: News from Prague

2002-08-14 Thread Timothy Johnson
I thought Coke was it... -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 4:43 PM To: 'drieux'; begin begin Subject: RE: News from Prague [off topic] I think drieux has finally lost it. What *it* is, I do not know. Don't know if I

Re: open file into hash

2002-08-14 Thread Jose Malacara
Thanks to all who replied with the useful advice. I really appreciate the help. Thanks! Jose - Original Message - From: Tor Hildrum [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Perl [EMAIL PROTECTED] Sent: Wednesday, August 14, 2002 3:53 AM Subject: Re: open file into hash [EMAIL

Can CPAN upgrade perl?

2002-08-14 Thread KEVIN ZEMBOWER
This might be a dumb question, but it's probably a beginner's one. How can I use CPAN to upgrade perl itself? I think this is possible, because it's happened to me inadvertently when I was trying to upgrade a module. I've tried 'install perl' and 'install perl5.8.0' but neither works. Is this a

Re: News from Prague

2002-08-14 Thread drieux
On Wednesday, August 14, 2002, at 07:43 , Nikola Janceski wrote: [off topic] I think drieux has finally lost it. What *it* is, I do not know. Don't know if I have *it* either. [..] well it's not like you have to be Franz Kafka to figure it out you go to bed with a copy of the 3rd

RE: perl2exe

2002-08-14 Thread Najamuddin, Junaid
Hi, I have been using it for quite some time and never had a problem. I am using it on Win NT platform Let me know if you need further assistance A wild guess would be install perl again probably thanks junaid -Original Message- From: Scott Barnett [mailto:[EMAIL PROTECTED]] Sent:

[OT] RE: News from Prague

2002-08-14 Thread Felix Geerinckx
on Wed, 14 Aug 2002 14:53:47 GMT, [EMAIL PROTECTED] (Timothy Johnson) wrote: I thought Coke was it... -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 4:43 PM To: 'drieux'; begin begin Subject: RE: News from Prague [off

New to Perl...

2002-08-14 Thread Kim, Tang (N-Raytheon)
Hello, all I need to learn Perl fast, have some C and 4GL background. What is the best way for me to start? I have 2 books that I have started looking at. Programming Perl by Wall, Christiansen Schwartz and Perl Cookbook by Christiansen Torkington. I can download softwares into my PC, but I

Re: Perl from command line documentation

2002-08-14 Thread drieux
On Tuesday, August 13, 2002, at 05:09 , Mario wrote: [..] I'm triying to replace my awk habits with perl, p0: perldoc a2p will give you all sorts of information about the 'a2p' application that is reasonable at how to deal with converting 'awk' scripts into perl code. a way of looking at

Re: New to Perl...

2002-08-14 Thread drieux
On Wednesday, August 14, 2002, at 08:27 , Kim, Tang (N-Raytheon) wrote: [..] I have 2 books that I have started looking at. Programming Perl by Wall, Christiansen Schwartz and Perl Cookbook by Christiansen Torkington. reasonably good choices to start with. You might want to fetch

Re: New to Perl...

2002-08-14 Thread Felix Geerinckx
on Wed, 14 Aug 2002 15:27:43 GMT, [EMAIL PROTECTED] (Tang Kim) wrote: I need to learn Perl fast, have some C and 4GL background. What is the best way for me to start? I have 2 books that I have started looking at. Programming Perl by Wall, Christiansen Schwartz and Perl Cookbook by

Re: [OT] RE: News from Prague

2002-08-14 Thread drieux
On Wednesday, August 14, 2002, at 08:24 , Felix Geerinckx wrote: [..] Shame on you. [..] p0: I can appreciate the emotional reaction - since I think that all of us went through that phase of dealing with the thought that jenda might no longer be in play - IF things go 'really bad'. Such would

Re: Perl from command line documentation

2002-08-14 Thread Tim Maher
Mario wrote: Hi all! I'm triying to replace my awk habits with perl, but I wonder if there is any place where I can find samples and/or documentation about how to run perl from the command line. Normally I work in Unix. For example with awk I used to get a column from the ps or ls -l

RE: How does ZOMBIE/defunct affect the system?

2002-08-14 Thread Bob Showalter
-Original Message- From: Ahmed Moustafa [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 11:45 AM To: Bob Showalter; 'Sudarshan Raghavan'; Perl beginners Subject: Re: How does ZOMBIE/defunct affect the system? ... All I need to do is to reap the dead processes without

scripting .pl files in Windows

2002-08-14 Thread Beans
I'm very very new at Perl. I have a question regarding Perl scripting on Windows. I'm using library books to learn and most of the examples are for UNIX My question is: After writing a .pl file in a text editor, is it neccessary to make it executable using the command: chmod +x

RE: scripting .pl files in Windows

2002-08-14 Thread Bob Showalter
-Original Message- From: Beans [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 1:30 PM To: [EMAIL PROTECTED] Subject: scripting .pl files in Windows I'm very very new at Perl. I have a question regarding Perl scripting on Windows. I'm using library books to learn

Re: scripting .pl files in Windows

2002-08-14 Thread drieux
On Wednesday, August 14, 2002, at 10:29 , Beans wrote: [..] Is this step something that is neccessary for UNIX but not for Windows? [..] If you are planning to have your *.pl file run 'on its own' rather than with perl foo.pl then you will need to set the execute bits on the unix

Printing in windows

2002-08-14 Thread doug
Anyone figure out how to trigger a nice, MFC-like printing dialogue in Windows? And use an associated API to produce printer output? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help!! Retrieving Image File

2002-08-14 Thread Perl
Hello All, I created a simple http upload file routine that uploads file into my accounts sub folder uploads, /home/myaccount/uploads. This is already running. Now what I wanted to do is retrieve the uploaded file from the browser, and display the content in the browser if it is an image or a

Re: Help!! Retrieving Image File

2002-08-14 Thread Connie Chan
Code 1: It didnt work... #!/usr/bin/perl use CGI; $query = new CGI; my $filepath='/home/myaccount/uploads/laptop.jpg'; print $query-header('image/jpeg'); print $filepath; Of cause, you didn't open the file and read the file. You are trying to print

Re: scripting .pl files in Windows

2002-08-14 Thread Tim Musson
Hey Beans, My MUA believes you used to write the following on Wednesday, August 14, 2002 at 1:29:57 PM. B I'm very very new at Perl. I have a question regarding Perl B scripting on Windows. I'm using library books to learn and most of B the examples are for UNIX B My question is:

RE: Hash, query-param help

2002-08-14 Thread Hanson, Rob
...only the categories for which they have a value This is probably the easiest way. # this will set the value to '' if the key doesn't exist my $email_county = $counties{$query-param('County')}-{County} || ''; And how do I wrap this so the user will select a county I'm not sure I

possible RFC?

2002-08-14 Thread Nikola Janceski
WTF doesn't perl -c check for valid subroutines/function calls? I can write a perlscript calling a function that doesn't exist but perl -c will say syntax ok. ie: % perl -ce nothing_here('some junk') -e syntax OK % perl -e nothing_here('some junk') Undefined subroutine main::nothing_here called

RE: Hash, query-param help

2002-08-14 Thread Gregg O'Donnell
If the user doesn't select a county in the first place, $query-param('County') will be undefined, which means that $counties{$query-param('County')}-{County} will be an error. So I think I need some code to handle this using something like if($query-param('County'){} I'm just stuck.

Re: possible RFC?

2002-08-14 Thread George Schlossnagle
One reason is that you can make runtime use/require calls, as well as run-time function definitions with eval. For example use strict; my $subname = 'contrived'; eval qq(sub $subname { print This could be useful\n }); contrived(); This may seem highly contrived (it is), but there are useful

Re: possible RFC?

2002-08-14 Thread Adam Turoff
On Wed, Aug 14, 2002 at 02:53:49PM -0400, Nikola Janceski wrote: WTF doesn't perl -c check for valid subroutines/function calls? Because it's quite possible to define subs dynamically. That is, the sub isn't defined directly in your code, but is created (and installed) after your code has

RE: possible RFC?

2002-08-14 Thread Bob Showalter
-Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 2:54 PM To: Beginners (E-mail) Subject: possible RFC? WTF doesn't perl -c check for valid subroutines/function calls? I can write a perlscript calling a function that doesn't

RE: Hash, query-param help

2002-08-14 Thread Hanson, Rob
Are you looking for something like this? # UNTESTED! my $county = $query-param('County'); if ( ! $county ) { # no county was passed. # display error page to the user, or ignore the request. } elsif ( ! exists($counties{$county}) ) { # they sent a county, but we have no data for it. #

Re: scripting .pl files in Windows

2002-08-14 Thread Connie Chan
As it stands now, all my .pl files are associated with ActiveState perl. When i double click on them, the perl window opens and displays the output for only a fraction of a second before it closes. I suggest you better associate your perl script with a text editor rather then the perl.exe.

RE: possible RFC?

2002-08-14 Thread Nikola Janceski
Okay I understand the dynamic subroutine declarations. but perhaps a warning should be made for -w or 'use warnings'? It's just to find misspelled functions. I use 'use strict' for finding misspelled vars. Is there nothing for finding misspelled functions, aside from running it and hoping for

Re: open file into hash

2002-08-14 Thread John W. Krahn
Jose Malacara wrote: Hello. I was wondering if there was a way to open a file into a hash? I know this works for arrays, but was wondering if I this could be done for a hash also. I have a file called people.data, which contains two colums: jose2 karen 8 jason

Executing script invisibly

2002-08-14 Thread LQQKOUT13
Hello, I am using Javascript (body onload) to execute a script automatically as a page loads, but this ends up redirecting the page to the URL of the script. Is there a way to have a script execute but prevent the user from being directed away from the home page? Much thanks. -- To

RE: Executing script invisibly

2002-08-14 Thread Bob Showalter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 3:56 PM To: [EMAIL PROTECTED] Subject: Executing script invisibly Hello, I am using Javascript (body onload) to execute a script automatically as a page loads, but this ends

RE: Executing script invisibly

2002-08-14 Thread Hanson, Rob
Is there a way to have a script execute but prevent the user from being directed away from the home page? You could load it in an image tag... img src=/cgi-bin/myscript.cgi height=1 width=1 It might show as a broken image in some browsers. To fix that you could have the script send a 1

RE: New to Perl...

2002-08-14 Thread Paul Ennis
I tried to view the perldoc and received the following error message: :/usr/local/binperldoc perl Can't locate warnings.pm in @INC (@INC contains: /usr/local/lib/perl5/5.00503/aix /usr/local/lib/perl 5/5.00503 /usr/local/lib/perl5/site_perl/5.005/aix /usr/local/lib/perl5/site_perl/5.005 .) at

Re: How does ZOMBIE/defunct affect the system?

2002-08-14 Thread Ahmed Moustafa
- Original Message - From: Bob Showalter [EMAIL PROTECTED] To: 'Ahmed Moustafa' [EMAIL PROTECTED]; Perl beginners [EMAIL PROTECTED] Sent: Wednesday, August 14, 2002 10:08 AM Subject: RE: How does ZOMBIE/defunct affect the system? -Original Message- From: Ahmed Moustafa

Re: Executing script invisibly

2002-08-14 Thread Connie Chan
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 3:56 AM Subject: Executing script invisibly Hello, I am using Javascript (body onload) to execute a script automatically as a page loads, but this ends up redirecting the page to the

Re: possible RFC?

2002-08-14 Thread Randal L. Schwartz
Adam == Adam Turoff [EMAIL PROTECTED] writes: Adam On Wed, Aug 14, 2002 at 02:53:49PM -0400, Nikola Janceski wrote: WTF doesn't perl -c check for valid subroutines/function calls? Adam Because it's quite possible to define subs dynamically. That is, Adam the sub isn't defined directly in

Re: system() retuens -1

2002-08-14 Thread Michael Fowler
On Wed, Aug 14, 2002 at 08:38:06AM -0700, Ahmed Moustafa wrote: $! says 'No child processes'. Does that have something to do with having $SIG{CHLD} = 'IGNORE'; in the code? Yes, that is probably the reason. However, I cannot duplicate your problem with perl v5.6.1. Are you using an older

unable to parse html

2002-08-14 Thread batch m
Hail, I'm stuck with this parsing script, (attached) I found on perlmonks.org. I've got Lemay's SAMS 21 day and O'reily's 2rd edition. My Perl experience is just modifying a config file from the plethora of free scripts to now finally trying to modify a script to accomplish the following task.

unable to parse html

2002-08-14 Thread batch m
--- batch m [EMAIL PROTECTED] wrote: Date: Wed, 14 Aug 2002 15:23:50 -0700 (PDT) From: batch m [EMAIL PROTECTED] Subject: unable to parse html To: [EMAIL PROTECTED] Hail, I'm stuck with this parsing script, (attached) I found on perlmonks.org. I've got Lemay's SAMS 21 day and

Re: [OT] RE: News from Prague

2002-08-14 Thread Wiggins d'Anconia
remember that one of the important duties in life is to know when to send in the clowns Well said, I must say I wondered momentarily how my post about his dealer would go over, but I felt that those of us half way around the globe might be able to provide a smile in an otherwise

Re: New to Perl...

2002-08-14 Thread drieux
On Wednesday, August 14, 2002, at 02:00 , Paul Ennis wrote: I tried to view the perldoc and received the following error message: :/usr/local/binperldoc perl Can't locate warnings.pm in @INC (@INC contains: /usr/local/lib/perl5/5.00503/aix /usr/local/lib/perl 5/5.00503

Processing Special Characters in email

2002-08-14 Thread Scott Ding
Hi, I wrote a perl script to automatically process incoming email by setting it up in .forward file. One of its function is to get the data from the email and save it to a file, which can be validated and processed to generate a report. One issue came up with is that when an email that contains

Re: How does ZOMBIE/defunct affect the system?

2002-08-14 Thread Steve Grazzini
Ahmed Moustafa [EMAIL PROTECTED] wrote: From: Bob Showalter [EMAIL PROTECTED] [ waitpid() in tight loop ] This example is straight out of perldoc -f waitpid, but if it's used as-is, I don't see the point. Why do a non-blocking wait, when the do loop effectively blocks the program anyway.

RPC modules ???

2002-08-14 Thread Mark Goland
Hi falks, Does anyone know of a way I can send RPC to my server ?? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: New to Perl...

2002-08-14 Thread Steve Grazzini
Paul Ennis [EMAIL PROTECTED] wrote: I tried to view the perldoc and received the following error message: :/usr/local/binperldoc perl Can't locate warnings.pm in @INC (@INC contains: /usr/local/lib/perl5/5.00503/aix /usr/local/lib/perl 5/5.00503 /usr/local/lib/perl5/site_perl/5.005/aix

Compare dates

2002-08-14 Thread Shane Laffin
Hello List, How do I compare two dates in the format: Thu Aug 15 2002 15:12:02 to return if one date is higher than the other. Does anyone have any ideas on suitable modules, most the date modules I have looked at dont deal with this date format. Any help or

Sending emails as html pages.

2002-08-14 Thread Joe Echavarria
Hi there, I have a script that it's output is a html page. How can i send the html page exactly how it is?, the contents like the one that is on the web server. It is something like the emails we receive from red hat brim , oracle and others companies. Thanks. Joe