[17773] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 5193 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Dec 24 11:05:26 2000

Date: Sun, 24 Dec 2000 08:05:07 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <977673907-v9-i5193@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Sun, 24 Dec 2000     Volume: 9 Number: 5193

Today's topics:
        [Perl] How to find the Perl FAQ <rootbeer&pfaq*finding*@redcat.com>
        A question on pattern matching. koppum@my-deja.com
    Re: A question on pattern matching. (Brian Pontz)
        Cloning an Object. koppum@my-deja.com
        Cloning an Object. koppum@my-deja.com
        creating a "TCP WAIT" process under inetd <news@freed.com>
        Free source code, and plug-in IRC chat room, classads,  <newsgroups@ebagus.com>
    Re: my simple perl application didn't work <johngros@Spam.bigpond.net.au>
    Re: my simple perl application didn't work (Tad McClellan)
    Re: Need help finding a space in a string with "index" <ryanc@nci1.net>
    Re: Need help finding a space in a string with "index" (Tad McClellan)
        Perl guru's comments on creating nasted hashes! <replynews@bigfoot.com>
    Re: Perl to ksh question <unixdude@voicenet.com>
    Re: Perl to ksh question (Tad McClellan)
    Re: problem with awk in perl script <monty@primenet.com>
    Re: Reverse "append to file" <bernie@fantasyfarm.com>
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Sun, 24 Dec 2000 11:21:43 GMT
From: Tom Phoenix <rootbeer&pfaq*finding*@redcat.com>
Subject: [Perl] How to find the Perl FAQ
Message-Id: <pfaqmessage977657045.15732@news.teleport.com>

Archive-name: perl-faq/finding-perl-faq
Posting-Frequency: weekly
Last-modified: 29 Apr 2000

[ That "Last-modified:" date above refers to this document, not to the
Perl FAQ itself! The last _major_ update of the Perl FAQ was in Summer
of 1998; of course, ongoing updates are made as needed. ]

For most people, this URL should be all you need in order to find Perl's
Frequently Asked Questions (and answers).

    http://www.cpan.org/doc/FAQs/

Please look over (but never overlook!) the FAQ and related docs before
posting anything to the comp.lang.perl.* family of newsgroups.

For an alternative way to get answers, check out the Perlfaq website.

    http://www.perlfaq.com/

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 

Beginning with Perl version 5.004, the Perl distribution itself includes
the Perl FAQ. If everything is pro-Perl-y installed on your system, the
FAQ will be stored alongside the rest of Perl's documentation, and one
of these commands (or your local equivalents) should let you read the FAQ.

    perldoc perlfaq
    man perlfaq

If a recent version of Perl is not properly installed on your system,
you should ask your system administrator or local expert to help. If you
find that a recent Perl distribution is lacking the FAQ or other important
documentation, be sure to complain to that distribution's author.

If you have a web connection, the first and foremost source for all things
Perl, including the FAQ, is the Comprehensive Perl Archive Network (CPAN).
CPAN also includes the Perl source code, pre-compiled binaries for many
platforms, and a large collection of freely usable modules, among its
560_986_526 bytes (give or take a little) of super-cool (give or take
a little) Perl resources.

    http://www.cpan.org/
    http://www.perl.com/CPAN/
    http://www.cpan.org/doc/FAQs/FAQ/html/
    http://www.perl.com/CPAN/doc/FAQs/FAQ/html/

You may wish or need to access CPAN via anonymous FTP. (Within CPAN,
you will find the FAQ in the /doc/FAQs/FAQ directory. If none of these
selected FTP sites is especially good for you, a full list of CPAN sites
is in the SITES file within CPAN.)

    California     ftp://ftp.cdrom.com/pub/perl/CPAN/
    Texas          ftp://ftp.metronet.com/pub/perl/
    South Africa   ftp://ftp.is.co.za/programming/perl/CPAN/
    Japan          ftp://ftp.dti.ad.jp/pub/lang/CPAN/
    Australia      ftp://cpan.topend.com.au/pub/CPAN/
    Netherlands    ftp://ftp.cs.ruu.nl/pub/PERL/CPAN/
    Switzerland    ftp://sunsite.cnlab-switch.ch/mirror/CPAN/
    Chile          ftp://ftp.ing.puc.cl/pub/unix/perl/CPAN/

If you have no connection to the Internet at all (so sad!) you may wish
to purchase one of the commercial Perl distributions on CD-Rom or other
media. Your local bookstore should be able to help you to find one.

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 

Comments and suggestions on the contents of this document
are always welcome. Please send them to the author at
<pfaq&finding*comments*@redcat.com>. Of course, comments on
the docs and FAQs mentioned here should go to their respective
maintainers.

Have fun with Perl!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/


------------------------------

Date: Sun, 24 Dec 2000 15:51:39 GMT
From: koppum@my-deja.com
Subject: A question on pattern matching.
Message-Id: <92562b$27d$1@nnrp1.deja.com>

Hi,

I have the following problem when I try to match a string.

example:

$str1 = 'ABC$XYZ';
$str2 = 'C$X'

Now I like to detect (and may be make a substitution) the above
condition that $str1 contains $str2, like say:

if ($str1 =~ /$str2/) {....

The problem is that whenever there are characters like '$' perl treats
it as a character with special meaning (end of line).

Now, is there a modifier or something that I can do to let perl know
that I want to turn-off that special meaning for those characters like
$. I consulted several books (programming perl, cookbook etc.) but
without any success.

Any help is highly appreciated.
Thanks in advance.
Murali


Sent via Deja.com
http://www.deja.com/


------------------------------

Date: Sun, 24 Dec 2000 16:04:12 GMT
From: pontz@NO_SPAM.channel1.com (Brian Pontz)
Subject: Re: A question on pattern matching.
Message-Id: <3a461da7.223238730@news.ne.mediaone.net>

>Now, is there a modifier or something that I can do to let perl know
>that I want to turn-off that special meaning for those characters like
>$. I consulted several books (programming perl, cookbook etc.) but
>without any success.

The backslash ( \ ) operator will "escape" any special meaning.

if ($str1 =~ /\$str2/) {....

Brian Pontz

comp.lang.perl.misc Searchable  Archive
http://www.axehind.com/complangperl.html


------------------------------

Date: Sun, 24 Dec 2000 15:36:48 GMT
From: koppum@my-deja.com
Subject: Cloning an Object.
Message-Id: <92556g$1oe$1@nnrp1.deja.com>

Hi,

I am trying to clone an object. Can someone tell if there is a
Class available in perl that let me do that (like Clonable in Java)?
Or anywhere on the net that I could get some info about it? I tried to
look at some places like perlpod etc.

All I am trying to do is to have an elegant way to duplicate an object
which I could reuse for any type of object. I cannot use new and
create a new object all over again (I want also to duplicate all the
data that the source object has).

Please be free to say if you consider this idea of cloning (in perl) is
silly or if you have a better way of duplicating an object.

I appriciate your answers.
Thanks in advance.
Murali.


Sent via Deja.com
http://www.deja.com/


------------------------------

Date: Sun, 24 Dec 2000 15:39:19 GMT
From: koppum@my-deja.com
Subject: Cloning an Object.
Message-Id: <9255b7$1p3$1@nnrp1.deja.com>

Hi,

I am trying to clone an object. Can someone tell if there is a
Class available in perl that let me do that (like Clonable in Java)?
Or anywhere on the net that I could get some info about it? I tried to
look at some places like perlpod etc.

All I am trying to do is to have an elegant way to duplicate an object
which I could reuse for any type of object. I cannot use new and
create a new object all over again (I want also to duplicate all the
data that the source object has).

Please be free to say if you consider this idea of cloning (in perl) is
silly or if you have a better way of duplicating an object.

I appriciate your answers.
Thanks in advance.
Murali.


Sent via Deja.com
http://www.deja.com/


------------------------------

Date: Fri, 22 Dec 2000 16:10:30 -0500
From: "news.freed.com" <news@freed.com>
Subject: creating a "TCP WAIT" process under inetd
Message-Id: <n2n64tg3b3jqj43j98gp3qr4luuvfbsjvm@4ax.com>

I would like to run a Perl script under INETD using "TCP WAIT" -- that
is:
  tst  stream  tcp wait  root    /var/admin/tst  tst

I don't want to spawn a separate process for each connection.  For now
I'll  handle all connections in the main process; ultimately, I'll be
pre-forking a pool of handlers.

 It's easy to do this if I'm managing the TCP/IP connections at the
socket level, but I'm not sure how to do it through inetd, when I'm
just being handed STDIO.

In desparation, I've tried many things such as:

while (1) {
  my $sel = IO::Select->new();
  $sel->add(\*STDIN);
  $sel->can_read;

  while (<STDIN>) {
    # process a connection
  }
}

The problem is that the daemon falls into an infinite loop that looks
like
while (1) { 
  can_read = true
  while (<STDIN>) { ...}  # falls through doing nothing
}

Each client will send multiple lines that need to be treated as a
single unit; That's why I'm not just checking can_read() inside the
inner loop; I have no way to tell that whether a line comes from the
previous connection or a new one.

I've been up many hours; if you find this message cryptic or
incomplete, I apologize.  And as always, thanks in advance for any
light you might bring to bear on this problem.


------------------------------

Date: Sat, 23 Dec 2000 16:49:08 +0800
From: "Free content" <newsgroups@ebagus.com>
Subject: Free source code, and plug-in IRC chat room, classads, newswatch to boost your traffic
Message-Id: <924ddb$s5r$1@mango.singnet.com.sg>

http://www.ebagus.com





------------------------------

Date: Sun, 24 Dec 2000 09:00:36 GMT
From: "John Boy Walton" <johngros@Spam.bigpond.net.au>
Subject: Re: my simple perl application didn't work
Message-Id: <UWi16.31077$xW4.244291@news-server.bigpond.net.au>


"Peter Chan" <peter.cch@excite.com> wrote in message
news:3a45abaa.0@news.tm.net.my...
> I'm new to PERL and I've install the ActivePerl in my PC, then i still
can't
> run my simple cgi in my PC.
> Then i post this problem to Newsgroup, what i get is they suggest me to
get
> Apache installed in my PC.
>
> So, I've download it, and I'd install it.
> I think i've install it successfully because when i key in this
> http://127.0.0.1/ at the address of my browser and enter,
> it display a page that say if i can read that page, it mean that i've
> successfully install it(Apache Server).
>
> Now i'm going to test my CGI progam(a simple counter only), but it still
not
> working.
> I don't know what's the problem and where is it happen.
>
> The following is my files info:
> location of my cgi(the counter)         D:\My Documents\HTML\Home
> Page\walink\walink_page\hitcounter.cgi
> location of my testpage.html            D:\My Documents\HTML\Home
> Page\walink\walink_page\testpage.html
> my ActivePerl installed at                C:\Perl\
> my Perl compiler(perl.exe)               C:\Perl\bin\perl.exe
>
> My perl program:
> #!C:\Perl\bin\perl.exe
>
> #texthitcounter.cgi
> #By Dora Chow
> #
> #simple hit counter
>
> $datafile="counter.dat";        # data file that contains current visitors
>
> ($fsec,$fmin,$fhour,$fday,$fmon,$fyear,$fwday,$fyday,$fisdst) =
> localtime(time);
>
> print "Content-type: text/html\n";
> print "Pragma: no-cache\n\n";
>
> open(COUNTER, $datafile);
>  $count=<COUNTER>;
> close COUNTER;
> $count++;
>
> open(COUNTER, ">$datafile");
>  print COUNTER $count;
> close COUNTER;
>
> print "$count";
> exit;
>
> Note: this perl program work when I double click on it, it will print out
> the number
>
> My testpage code:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
> <html>
> <head><title>testpage</title></head>
> <body>
> <!--#include virtual="hitcounter.cgi"-->
> </body>
> </html>
>
> If you need further info of my files in my PC, do tell me.
> Thanks for helping.
>
>
> Regard,
> Peter
You probably do not have Apache configured properly.
In the apache 'conf' directory you will find http.conf.
You willl need to put two lines in to get things working.
First you need to get Apache to use perl to handle cgi scripts so where your
add handler lines are add another add handler line.
AddHandler cgi-script .pl
then you need to add a directory permission to allow cgi execution in the
directory.
So you need some lines like
<Directory "c:/htdocs/cgi-bin">
    AllowOverride None
    Options All
</Directory>
the path is of course meant to be the path to your scripts.
Hope that helps.





------------------------------

Date: Sun, 24 Dec 2000 06:42:14 -0500
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: my simple perl application didn't work
Message-Id: <slrn94bo8m.6cj.tadmc@magna.metronet.com>

Peter Chan <peter.cch@excite.com> wrote:

> Subject: my simple perl application didn't work
              ^^^^^^      ^^^^^^^^^^^

A simple Perl application would be to get your program
working from the _command line_ first.

Using Perl in a CGI environment is more difficult. Get the easy
part working first.

Can you run Perl programs from the command line?

If so, then you do not have a Perl problem!


>I'm new to PERL and I've install the ActivePerl in my PC, then i still can't
            ^^^^


It is "Perl" or "perl", not "PERL".


>run my simple cgi in my PC.
>Then i post this problem to Newsgroup, what i get is they suggest me to get
>Apache installed in my PC.


Installation of web servers does not have anything to do with
Perl, and is off-topic in a Perl newsgroup.

There are other newsgroups for discussing web stuff:

      comp.infosystems.www.authoring.cgi
      comp.infosystems.www.servers.mac
      comp.infosystems.www.servers.misc
      comp.infosystems.www.servers.ms-windows
      comp.infosystems.www.servers.unix


>So, I've download it, and I'd install it.
>I think i've install it successfully because when i key in this
>http://127.0.0.1/ at the address of my browser and enter,
>it display a page that say if i can read that page, it mean that i've
>successfully install it(Apache Server).


After you install it, the next step would be to configure it
to run CGI programs.


>I don't know what's the problem and where is it happen.


You haven't gotten the server configured correctly yet.


>My perl program:

>print "Content-type: text/html\n";


Your program does not output HTML. You should not lie to the
browser like that. If you say you are going to give it HTML,
then you should give it HTML. If you are going to give it
plain text, then you should say that you are going to give
it plain text.


>open(COUNTER, $datafile);


You should always, yes *always*, check the return value from open():

   open(COUNTER, $datafile) || die "could not open '$datafile'  $!";



[ snip code that runs in a multitasking environment, but does not
  do any file locking.
]


After you get your server-config issues fixed, you have yet
more problems to deal with.

You should probably look at the Perl FAQ, part 5:

   "I still don't get locking.  
    I just want to increment the number in the file.  
    How can I do this?"


>Note: this perl program work when I double click on it, it will print out
>the number


Ah hah! So you do have it running outside of a CGI environment.
That makes it off-topic here. Ask in a newsgroup that cares
about the CGI environment.


-- 
    Tad McClellan                          SGML consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


------------------------------

Date: Sun, 24 Dec 2000 06:23:27 -0500
From: "Ryan & Treena Carrier" <ryanc@nci1.net>
Subject: Re: Need help finding a space in a string with "index"
Message-Id: <3a45dc53_1@news.cybertours.com>

Hmmmm..... "It doesn't work"......I'll explain briefly. I expect a 5 for
output. I get a -1. Better?
"Abigail" <abigail@foad.org> wrote in message
news:slrn949vte.rpg.abigail@tsathoggua.rlyeh.net...
> Ryan & Treena Carrier (ryanc@nci1.net) wrote on MMDCLXXI September
> MCMXCIII in <URL:news:3a44b017_1@news.cybertours.com>:
> ?? I'm trying to determine the first occurrence of a space character in a
> ?? string. It seems to me
> ??
> ?? my $string = "Hello World";
> ?? my $spaceLocation = index($string, " ");
> ??
> ?? should give 5 to $string, but it doesn't work.
>
>
> "It doesn't work" is a totally useless remark. Do you get an error?
> Do you get a result that you didn't expect? Do you get output where
> you don't expect any?
>
> Furthermore, you don't have code that shows the problem.
>
>
>     $ perl -w
>     my $string = "Hello World";
>     my $spaceLocation = index($string, " ");
>     print $spaceLocation, "\n";
>     __END__
>     5
>     $
>
>
>
> Abigail
> --
> $_ = "\112\165\163\1648\141\156\157\164\150\145\1628\120\145"
>    . "\162\1548\110\141\143\153\145\162\0128\177"  and &japh;
> sub japh {print "@_" and return if pop; split /\d/ and &japh}




------------------------------

Date: Sun, 24 Dec 2000 07:15:32 -0500
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Need help finding a space in a string with "index"
Message-Id: <slrn94bq74.6cj.tadmc@magna.metronet.com>

[ Please put your comments *following* the quoted text that
  you are commenting on.

  Please do not quote an entire article.

  Please do not quote .signatures.

  Thanks.
]


Ryan & Treena Carrier <ryanc@nci1.net> wrote:
>"Abigail" <abigail@foad.org> wrote in message
>news:slrn949vte.rpg.abigail@tsathoggua.rlyeh.net...
>> Ryan & Treena Carrier (ryanc@nci1.net) wrote on MMDCLXXI September
>> MCMXCIII in <URL:news:3a44b017_1@news.cybertours.com>:
>> ?? I'm trying to determine the first occurrence of a space character in a
>> ?? string. It seems to me
>> ??
>> ?? my $string = "Hello World";
>> ?? my $spaceLocation = index($string, " ");
>> ??
>> ?? should give 5 to $string, but it doesn't work.


Yes it does. There is something that you are not telling us.

Post a _complete_ program that we can run that shows what you
are doing.


>> "It doesn't work" is a totally useless remark. Do you get an error?
>> Do you get a result that you didn't expect? Do you get output where
>> you don't expect any?
>>
>> Furthermore, you don't have code that shows the problem.
>>
>>
>>     $ perl -w
>>     my $string = "Hello World";
>>     my $spaceLocation = index($string, " ");
>>     print $spaceLocation, "\n";
>>     __END__
>>     5
>>     $


>Hmmmm..... "It doesn't work"......I'll explain briefly. I expect a 5 for
>output. I get a -1. Better?


No, because the code you have shown us does not make any output at all!

You have left something out (leaving us wondering what _else_ you
have left out, maybe your problem is in the left-out part?).

When you run _Abigail's_ program, do you get -1 output?

If so, then you have a broken perl. Reinstall perl (a most drastic
step, better try everything else first).


-- 
    Tad McClellan                          SGML consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


------------------------------

Date: Sun, 24 Dec 2000 12:14:41 +0100
From: "Ralf Siedow" <replynews@bigfoot.com>
Subject: Perl guru's comments on creating nasted hashes!
Message-Id: <924lr1$5n22r$1@ID-23826.news.dfncis.de>

Hello,

my script does a sql-query on a database. I want the table to be stored in a
nested hash so fields can be called like this $table{'rowname'}[0]!

I did it like this:
my $query_string = "SELECT * FROM phonebook";
my $query = $dbh->prepare($query_string);
 $query->execute;

## Is there a way to make this step shorter?
my %table;
my $table_row;
while($table_row = $query->fetchrow_hashref)
{
 for(keys %{$table_row})
 {
  push(@{$table{$_}}, $table_row->{$_});
 }
}

## This is just to verify the above was successful.
## So don't wonder why I want to put the table in a hash of arrays
## and don't print it out immediately.
my $i;
for($i=0; $i<@{$table{'entryname'}}; $i++)
{
 print "$table{'entryname'}[$i]:$table{'faxno'}[$i]\n";
}

$query->finish;
$dbh->disconnect;

Don't comment




------------------------------

Date: Sun, 24 Dec 2000 13:58:13 GMT
From: "Ed Murray" <unixdude@voicenet.com>
Subject: Re: Perl to ksh question
Message-Id: <Vhn16.420$%42.6583@news3.voicenet.com>

> PS: comp.lang.perl went out of existance almost 5 years ago

comp.lang.perl   still seems to be an active NG, there are posts there daily





------------------------------

Date: Sun, 24 Dec 2000 07:45:47 -0500
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Perl to ksh question
Message-Id: <slrn94brvr.6gi.tadmc@magna.metronet.com>

Ed Murray <unixdude@voicenet.com> wrote:
>> PS: comp.lang.perl went out of existance almost 5 years ago
>
>comp.lang.perl   still seems to be an active NG, there are posts there daily


Yes, but only by the clueless (unless cross posted).

Are those the folks you want to answer your question?

Yet another reason for not putting comp.lang.perl in your
Newsgroups header is that that is a convenient red flag
for scoring/killing.


-- 
    Tad McClellan                          SGML consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


------------------------------

Date: 24 Dec 2000 15:51:18 GMT
From: Jim Monty <monty@primenet.com>
Subject: Re: problem with awk in perl script
Message-Id: <92561m$2vv$1@nnrp1.phx.gblx.net>

Garry Williams <garry@zvolve.com> wrote:
> Jim Monty <monty@primenet.com> wrote:
> > Andrew N McGuire <anmcguire@my-deja.com> wrote:
> > > ... Now, there are cases where the use of an external
> > > program is warranted, or even the best thing to do. Sorting
> > > springs to mind quickly as an example. ...
> >
> > Ok, I'll bite: Why would using the external sort command be
> > "warranted, or even the best thing to do", as opposed to just
> > using Perl's built-in sort function?
>
> The perl sort() needs all of its data in memory.  The sort(1) program
> will sort a file without the need to store it entirely in memory
> (although it will need to use temporary work files, if the file is
> large enough).

I suspected I was missing something obvious. Thanks.

Of course, if one needs external sorting in Perl, there are modules;
e.g., File::Sort <http://theoryx5.uwinnipeg.ca/CPAN/data/File-Sort>.

-- 
Jim Monty
monty@primenet.com
Tempe, Arizona USA


------------------------------

Date: Sun, 24 Dec 2000 09:14:20 -0500
From: Bernie Cosell <bernie@fantasyfarm.com>
Subject: Re: Reverse "append to file"
Message-Id: <6a0c4t0t2smqunh786eccqrkcmmfao0bv3@news.supernews.net>

chr1st1an <cyner.mail@sweden.com> wrote:

} I don't have perl. I'm only uploading to my home page. I'm new to this 
} and was only testing to see what I could do.

Whew!  You're going to have a *tough* row to hoe if your only way to mess
with Perl is to upload a CGI program and then try it.  It is no wonder that
ISPs/webmasters/Sysops with a clue don't allow customer-supplied CGI
programs.

Two points:
             1) your programs will be essentially impossible to debug.
Since you don't have telnet access to your server [else you'd have had
access to the FAQs/manpages], the ONLY data you'll get back, by and large,
is a lot of HTTP errors and you'll have to guess what went wrong. 

             2) Unless your ISP/sysop has VERY carefully configured the
system [which is not all that likely, but possible], you can seriously
trash/hurt the entire system with some broken/bogus Perl code.

Altogether, if you don't have local/direct access to Perl, I think you
should give-it-up [and indeed, better confirm that your ISP/sysop really
will permit you to upload 'blink' CGI programs].  Even beyond dumb
questions like the one you asked [not dumb because it is a bad question,
only dumb because its answer is so easily/readily found from available
resources, your inability/unwillingness to seek them out notwithstanding],
there are a thousand things you're going to need to know [e.g., you're
*REALLY* going to want "man CGI" right by your side as you start on this
project, not to mention the several other things mentioned [e.g., the
"ReadBackward" module -- is that installed on your server?  How would you
find out??]

If you're serious about this and you really want it to work, you really
need to download the Win98 Perl distribution from Activestate, set up MS's
"personal web server" [which I'm pretty sure supports CGI, but I don't
remember] and play on your own system both until you get a feel for what's
going on and get your CGI stuff to work... THEN try FTP'ing it up the
server --- and it still probably won't work the first time,but it'll be
closer [permissions, locations of things, environment, etc all are usually
different on the 'server' than in your test setup and can mess up a
program].  You'll also need a fair bit of support from your ISP/sysop:
location of things, Perl modules available, ability to get new modules
loaded, etc, etc.   And have you double-checked that your ISP/sysop really
*will* allow you to FTP up homegrown Perl CGI programs at all??

  /Bernie\
-- 
Bernie Cosell                     Fantasy Farm Fibers
bernie@fantasyfarm.com            Pearisburg, VA
    -->  Too many people, too few sheep  <--          


------------------------------

Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 16 Sep 99)
Message-Id: <null>


Administrivia:

The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc.  For subscription or unsubscription requests, send
the single line:

	subscribe perl-users
or:
	unsubscribe perl-users

to almanac@ruby.oce.orst.edu.  

| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.

For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V9 Issue 5193
**************************************


home help back first fref pref prev next nref lref last post