Re: How to download WebPage source??

2002-11-02 Thread montana
Does LWP come with perl or do I have to install this module? Thanks. SA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl Unix Binary Files

2002-11-02 Thread Paul Johnson
On Sat, Nov 02, 2002 at 04:00:44PM -0600, John Pitchko wrote: > I've been racking my brains out trying to get Perl to write binary > files for me. Here is my situation. For my Operating Systems class, we > are designing a file system. One of the requirements is that the file > system needs to be s

Re: Any ideas [on how to redirect STDOUT to an array]?

2002-11-02 Thread Daniel Gardner
Dr. Poo wrote: > What i am trying to do is set up a very rudimentary logging system. I want > to log everything that is directed to STDOUT. And the way i'd like to try > to do this is have an array declared that will "read" STDOUT and store the > contents to the array rather than print them to the

Re: How to download WebPage source??

2002-11-02 Thread Christopher Solomon
On Sat, 2 Nov 2002, montana wrote: > I know this is simple and I'm probably overlooking something in the > tutorial. > > How do I get perl to download the source code of a webpage so that I > can do some parsing and other things to the text? Try: use LWP::Simple; my $contents = get("http://www.

How to download WebPage source??

2002-11-02 Thread montana
I know this is simple and I'm probably overlooking something in the tutorial. How do I get perl to download the source code of a webpage so that I can do some parsing and other things to the text? Thanks. SA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Perl Unix Binary Files

2002-11-02 Thread John Pitchko
Hi all. I've been racking my brains out trying to get Perl to write binary files for me. Here is my situation. For my Operating Systems class, we are designing a file system. One of the requirements is that the file system needs to be saved to disk as a binary file. I have a few large array of

pass a variable trough another sub via a form

2002-11-02 Thread anthony
Hi, i have three sub home, display, save ## comments are in the scripts especially in sub save #/usr/bin... ##somecode to get zone + other if ($zone eq "display"){&display;} elseif{$zone eq "save"){&save;} else{&home;} sub home{ ##just a form to ask search for a person's item } sub disp

A chroot problem

2002-11-02 Thread Dr. Poo
Hi again! I'm narrowing down my initial problem, and i believe i've found the error to be occuring due to the fact that before the Net::FTP calls are made, i have made a call to chroot! Run the test script below (please please please please) #! /usr/bin/perl use strict; use warnings; use Net

RE: How to check server for perl setup?

2002-11-02 Thread Nigel Peck - MIS Web Design
It doesn't look right to me no. That is similar to what you would use to enable mod_perl (http://perl.apache.org). I'm assuming you just want straight CGI, try the Apache FAQ: http://httpd.apache.org/docs/misc/FAQ-F.html And see if that helps, it's the scriptalias directive that needs to be set.

RE: How to check server for perl setup?

2002-11-02 Thread Dan Sabo
Hi Nigel, Thanks for the info! I have the below entry in my httpd.conf file. Is this basically all I need to enable perl? Dan LoadModule perl_modulemodules/libperl.so -Original Message- From: Nigel Peck - MIS Web Design [mailto:nigel@;miswebdesign.com] Sent: Saturda

RE: How to check server for perl setup?

2002-11-02 Thread Nigel Peck - MIS Web Design
You can check that perl is there by asking for it's version /usr/bin/perl -v You will need to check your Apache configuration file httpd.conf to make sure that Perl is enabled. The Apache documentation should help you there. Not sure about the books, Apache help and lists usually help enough for

How to check server for perl setup?

2002-11-02 Thread Dan Sabo
Hi, Is there a way I can check my server to see if my perl setup and configuration is running OK and ready to run cgi scripts? I've run pre written perl cgi scripts for a few years on a shared server but recently set up my own server and for some reason I can't seem to get my long used cgi script