[10357] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 3950 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Oct 12 01:07:24 1998

Date: Sun, 11 Oct 98 22:00:17 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sun, 11 Oct 1998     Volume: 8 Number: 3950

Today's topics:
    Re: .htaccess Problem <mp@mkt2mkt.com>
    Re: A Faster Way?? <ebohlman@netcom.com>
        child process on NT act weird <adman.perlng@1stday.com>
    Re: Help to compile or translate my software perl in C  <jbattikha@highsynth.com>
    Re: How to post a multipart mime format in Perl ? (Michael Budash)
    Re: I'm looking for someone who wants to write a comple <kevin.mannens@tvd.be>
    Re: I'm looking for someone who wants to write a comple (brian d foy)
    Re: I'm looking for someone who wants to write a comple <matt@whiterabbit.co.uk>
    Re: I/O problem (Andrew M. Langmead)
        IO::Socket <cnjaka@ndsjapan.com>
    Re: Pelr book or WWW Recources <bprater@jipes.com>
    Re: Perl 5.00502 error in subroutines <Arved_37@chebucto.ns.ca>
        Print @ sign <sroque@man.amis.com>
    Re: Print @ sign <matt@whiterabbit.co.uk>
    Re: Print @ sign (Larry Rosler)
    Re: print bug/feature? (Damian Conway)
        printing reserved characters from Perl script to web pa steve.cooke@wmc.com.au
    Re: printing reserved characters from Perl script to we (brian d foy)
        Reading files from another website <chi@ihomelistings.com>
    Re: Reading files from another website <chi@ihomelistings.com>
    Re: symlinks and perl <martin@kiss.sk>
    Re: What do you need to run perl? jesten@wdynamic.com
    Re: Why it doesn't work under UNIX?????? <martin@kiss.sk>
        Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)

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

Date: Sun, 11 Oct 1998 21:38:46 -0800
From: madame philosophe <mp@mkt2mkt.com>
Subject: Re: .htaccess Problem
Message-Id: <362195C2.AC46EC2F@mkt2mkt.com>

I had a question about this type of problem:

brian d foy wrote:

> In article <362123E8.1C1BF1C1@crec08.bus.utexas.edu>, Juha Vehnia <juha@crec08.bus.utexas.edu> posted:
>
> >We are using perl to dynamically generate Apache's (user authentication)
> >.passwd file when ever new users registerer to use our system. We don't
> >use any file locking or anything, we just generate tmp file and then
> >replace the original .passwd file with the new file. There is a problem,
> >the whole .passwd file gets somehow corrupted and nobody can login.
>
> um, file locking is good.  how about solving that mis-design first?

I'm assuming that Brian means that aside from flocking, that generating a temp file doesn't sound very
swift to me.

Is this true?

Also what are the diffs (in security and in programming know how)
between a cgi type login and a server login using htaccess?

Of course I would gather that htaccess would be more bulletproof,
but wouldn't a cgi-login be more portable?

Other than that I would guess programming a cgi-login would be easier in terms of programming know-how,
whereas one has to know UNIX more intimately to run a htaccess type login.

I appreciate your comments which will be for my edification!

PS I have ALREADY done a search on Deja News on the topic,

this is the closest I have found.

Thanks!
mp




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

Date: Mon, 12 Oct 1998 04:49:11 GMT
From: Eric Bohlman <ebohlman@netcom.com>
Subject: Re: A Faster Way??
Message-Id: <ebohlmanF0p6pz.BpA@netcom.com>

Raydance <ranson@rlaj.com> wrote:
: Just wondering if there is a 'faster' way for perl to do the following:

: # there are 12 categories 

: 	foreach $key (sort keys %category) {

: opendir (MYDIR, "$base_dir$key") || &open_error("$base_dir$key");
: @allfiles = grep -T, map "$base_dir$key/$_", readdir MYDIR;
: closedir MYDIR;
: }

You're assigning to @allfiles and then overwriting the result the next 
time around without having used it.  Without knowing what you're actually 
doing with the data, it's hard to tell whether or not you need to sort 
the category keys in the first place; if not, read them in unsorted order.

If there are lots of files in each directory, you might want to chdir() 
into each directory to avoid the overhead of the map().



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

Date: Sun, 11 Oct 1998 19:01:48 -0700
From: "Dave Hurst" <adman.perlng@1stday.com>
Subject: child process on NT act weird
Message-Id: <362163bc$0$4653@nntp1.ba.best.com>

I'm having a problem executing system commands in perl NT programs when the
perl program itself is called from a program.  Here's and example to try to
clear this up.

xxx.pl   (is a program that contains the command:  system("date /t
>output.txt");)
yyy.pl   (runs xxx.pl via  system("xxx.pl");)

When I run yyy.pl, xxx.pl does run, but the system commands all fail.  When
I run xxx.pl stand-alone it works correctly.

I realize this seems a little convoluted, but I'm ultimately trying to run
xxx.pl from a CAD program which allows system calls, and I'm seeing the same
behaviour (i.e.  xxx.pl runs, but the system commands fail).

If someone could explain what I'm doing wrong, or what the limitations I'm
running into are, I'd be very grateful.

--- please e-mail me directly at dhurst@1stday.com ----

Thanks.




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

Date: Sun, 11 Oct 1998 23:54:31 -0400
From: Jihad Battikha <jbattikha@highsynth.com>
Subject: Re: Help to compile or translate my software perl in C for win95
Message-Id: <36217D77.CF0F9567@highsynth.com>

Tom Hill wrote:

> Does anybody know what perl2exe is actually doing?
> Converting to C and compiling?

I think it's simply repackaging the perl interpreter (whichever one
happens to be installed on your system) into an .exe that contains
both the interpreter and the script.  That causes compiled .exe's to
be over 500 KB -- although there is a -small option for the Pro
version, a 500 KB .dll is then required (again, pretty much just the
repackaged perl interpreter).

I have heard of a Perl-to-C converter available somewhere although the
output C code is unlikely to be legible for practical purposes.  I'm
not sure if that converter is available for Win32 platforms, though. 
Maybe someone else here can shed some light on this...

I've used Perl2Exe quite successfully (I'm pretty adept at Perl, don't
know squat about C) and would recommend it to anyone in the same
position.  I like the idea of being able to distribute my Perl apps to
people who aren't likely to have a Perl interpreter on their system.

~jihad

-- 
<>>>===========================================================<<<>
 Jihad Battikha <jbattikha@highsynth.com> http://www.highsynth.com
 -=< graphics . 2d/3d animation . illustration . web authoring >=-
 -----------------------------------------------------------------
 PGP: http://www.highsynth.com/jihad/pgp.htm
 - fingerprint: 9B5E 0484 0D88 6454 380B  964D E9B7 7A58 15C0 CAD7
 - expires: 1/1/1999
<>>>===========================================================<<<>
 Before sending me commercial e-mail, the sender must first agree
 to my LEGAL NOTICE located at: http://www.highsynth.com/sig.html.
<>>>===========================================================<<<>


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

Date: Sun, 11 Oct 1998 21:49:25 -0700
From: mbudash@sonic.net (Michael Budash)
Subject: Re: How to post a multipart mime format in Perl ?
Message-Id: <mbudash-1110982149250001@d54.nas1.napa.sonic.net>

In article <6vr6gn$kt6$1@nnrp1.dejanews.com>, sbernard@mail.esiea.fr wrote:

>> I'd like to know how to post a mulitpart mime format using sendmail with
>> Perl. I'd like to send emails containing plain text and HTML. If you know how
>> to send HTML only, It will be useful too.

this works for me ('course, the vars will have to have been set up earlier
in the script, and your sendmail location may vary):

  open (MAIL, "| /usr/lib/sendmail $to_email") or die("Can't open sendmail
pipe");

# define message type as multipart
  print MAIL "To: $to_email\n";
  print MAIL "From: $from_email\n";
  print MAIL "Subject: $subject\n";
  print MAIL "MIME-Version: 1.0\n";
  print MAIL "Content-Type: multipart/mixed;
boundary=\"------------theBoundary\"\n\n";

# send text part
  print MAIL "--------------theBoundary\n";
  print MAIL "Content-Type: text/plain\n\n";
  print MAIL "this is the plain text part of the message\n";

# send html part
  print MAIL "--------------theBoundary\n";
  print MAIL "Content-Type: text/html\n\n";
  print MAIL "<HTML><BODY><H2>this is the html part of the
message</H2></BODY></HTML>\n";

# close message and sendmail pipe
  print MAIL "\n--------------theBoundary--";
  close MAIL;

hth-

-- 
Michael Budash ~ Michael Budash Consulting
707-255-5371 ~ 707-258-7800 x7736
mbudash@sonic.net


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

Date: Mon, 12 Oct 1998 04:37:19 +0100
From: Achilleus <kevin.mannens@tvd.be>
To: Christian@oliveoilstudios.com
Subject: Re: I'm looking for someone who wants to write a complete perl-script (for free)
Message-Id: <3621796F.290522DA@tvd.be>

WOEHAHAHAHAHA

Christian Verschaeren wrote:

> PsIoNnEkE wrote:
>
> > Hi !
> >
> > I'm looking for one (or a few) persons who want to write a complete
> > perl-script for my new web-project. The project ain't the one you know
> > from everybody, no, it's very professional.
> >
> > What I need:
>
> lemme guess, a sence of reality?
>
> --
> mailto:christian@oliveoilstudios.com
> http://www.oliveoilstudios./com



--
Kevin.Mannens@tvd.be
aka DaDuke
icq# 9012689
http://home.tvd.be/ws35337
"It takes a man to suffer ignorance and smile" (Sting)




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

Date: Mon, 12 Oct 1998 00:07:46 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: I'm looking for someone who wants to write a complete perl-script (for free)
Message-Id: <comdog-ya02408000R1210980007460001@news.panix.com>
Keywords: from just another new york perl hacker

In article <36215818.E462B3B3@whiterabbit.co.uk>, Matt Pryor <matt@whiterabbit.co.uk> posted:

>PsIoNnEkE wrote:

>> I'm looking for one (or a few) persons who want to write a complete
>> perl-script for my new web-project. The project ain't the one you know
>> from everybody, no, it's very professional.

i like the specification which is concise - "complete", leaving the
function, design, and implementation up to the programmer.  so here's
mine:

   #!/usr/bin/perl
   print "Just Another Perl Hacker\n";
   __END__

(your royalty check is in the mail, Randal).

>(My quote: estimated 200 hours work @ #10.00 per hour + vat = #2,350.00)

didn't you mean 20 hours of work at #100.00 per hour?

-- 
brian d foy                                  <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
Comprehensive Perl Archive Network (CPAN) <URL:http://www.perl.com>
Perl Mongers needs volunteers! <URL:http://www.pm.org/to-do.html>


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

Date: Mon, 12 Oct 1998 05:57:40 +0100
From: Matt Pryor <matt@whiterabbit.co.uk>
Subject: Re: I'm looking for someone who wants to write a complete perl-script (for free)
Message-Id: <36218C44.A016D7F3@whiterabbit.co.uk>

brian d foy wrote:
> (your royalty check is in the mail, Randal).

A small overhead in comparison to the huge fee you should charge the
poster for your code which is, I must admit, a stroke of pure genius.

> >(My quote: estimated 200 hours work @ =A310.00 per hour + vat =3D =A32=
,350.00)
> =

> didn't you mean 20 hours of work at =A3100.00 per hour?

I always get confused with my ten times table - d'oh!




-- =

Matt's daily comic strip
Porridge and Fartcakes
http://www.whiterabbit.co.uk/cartoons


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

Date: Mon, 12 Oct 1998 04:34:41 GMT
From: aml@world.std.com (Andrew M. Langmead)
Subject: Re: I/O problem
Message-Id: <F0p61t.MDA@world.std.com>

"Gil Brown" <gil_brown@hp.com> writes:

>I am looking for a way to do direct I/O (not buffered) I know there is a way
>to specify that but I can't remember it.

Real unbuffered I/O is performed with the sysread() and syswrite()
functions. Command buffering (automatically flushed buffered output)
is performed by manipulating the $| variable.

If you can get away command buffering instead of unbuffered output
you'll be saving yourself from a few awkward details.

-- 
Andrew Langmead


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

Date: Mon, 12 Oct 1998 11:25:43 +0900
From: Chikeobi Otuokere Njaka <cnjaka@ndsjapan.com>
Subject: IO::Socket
Message-Id: <362168A7.32296AB8@ndsjapan.com>

This is a multi-part message in MIME format.
--------------AE1F86D0D4C861CB3AD604C6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am having problems using IO::Socket module on both the NT and UNIX
(HP-UX 10.20). Below is an example from the Advanced Perl Programming
book.
*****************************************************
For the "server" :
use IO::Socket;
# 
$sock = new IO::Socket::INET (LocalHost => 'uhuru_ygp',
                              LocalPort => 1200,
                              Proto     => 'tcp',
                              Listen    => 5,
                              Reuse     => 1
                             );
 die "\nSocket could not be opened. Reason : $!\n" unless $sock;
 while ($new_sock = $sock->accept())
 { while (defined($buf = <$new_sock>))
  { print $buf; }
 }
 close ($sock);
************************************************
For the "sender" :

use IO::Socket;
# 
$sock = new IO::Socket::INET (PeerHost  => 'uhuru_ygp',
                              PeerPort  => 1200,
                              Proto     => 'tcp',
                             );
 die "\nSocket could not be opened. Reason : $!\n" unless $sock;
 foreach (1 .. 10)
 { print $sock "Msg $_ : How da hell are ya?\n";}
 close ($sock);
*****************************

While the "server" sets up OK and using netstat -a, you can see (on the
UNIX box anyway) that a process is indeed on the port listening.
However, the sender program always returns with the following messages:

"Socket could not be opened. Reason : Bad file descriptor" (NT)

"Socket cound not be opened. Reason : Bad file number" (UNIX)

I also get the same error when I use UDP for both sides. What gives??


Thanks.

Chikeobi Njaka
--------------AE1F86D0D4C861CB3AD604C6
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Chikeobi Otuokere Njaka
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Chikeobi Otuokere Njaka
n:              Njaka;Chikeobi Otuokere
org:            NDS Asia Pacific LTD
email;internet: cnjaka@ndsjapan.com
title:          Account Manager
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


--------------AE1F86D0D4C861CB3AD604C6--



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

Date: 11 Oct 1998 22:11:05 -0500
From: "Ben Prater" <bprater@jipes.com>
Subject: Re: Pelr book or WWW Recources
Message-Id: <UqeU1.10720$eo5.1536184@newscene.newscene.com>

I certainly enjoyed 'Perl 5 Interactive'. I think it's definately simple
enough for a beginner.

Ben


George wrote in message <3621619d.22548613@news.uniserve.com>...
>I have read books from our local library about perl. They are geared
>for people who have experience in programming in other languages and
>certain assumptions are made.
>Could someone please suggest a good book that explains from the ground
>up OR are there recources on the www that I could access and study?
>Thank you
>george9684@my-dejanews.com




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

Date: Sun, 11 Oct 1998 23:18:03 -0300
From: Arved Sandstrom <Arved_37@chebucto.ns.ca>
Subject: Re: Perl 5.00502 error in subroutines
Message-Id: <Pine.GSO.3.95.iB1.0.981011231511.5637A-100000@halifax.chebucto.ns.ca>

I'm a few days away from installing 5.005 on _my_ Linux box (I just
finished upgrading Linux), but I dare say that "search" is now a function
in Perl 5.005.

Leastways, if you look at perldiag for "unable to create sub", that's what
this generally means.


On Sun, 11 Oct 1998, O2 wrote:

> I grabbed perl 5.00502 today and installed in onto my linux
> box(slackware 3.5).  I had a script that ran fine on 5.004 but now
> gives this error when I run it.
> 
> Unable to create sub named "*main::search" at ./dbopen.pl line 22.
> 



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

Date: 12 Oct 1998 03:25:52 GMT
From: "AMIP" <sroque@man.amis.com>
Subject: Print @ sign
Message-Id: <01bdf58f$5b8715f0$2bbe10ac@amipnet>

How can I print the @sign in HTML format? This is going to be in the header
of the database search results, email particularly. 

i.e.
<pre>
NAME		EMAIL(username@man.amis.com) 	PHONE
$variables

</pre>

Thanks in advance!!!


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

Date: Mon, 12 Oct 1998 04:31:49 +0100
From: Matt Pryor <matt@whiterabbit.co.uk>
To: AMIP <sroque@man.amis.com>
Subject: Re: Print @ sign
Message-Id: <36217825.E82ADFF8@whiterabbit.co.uk>

print "\@";

Matt
--



AMIP wrote:
> 
> How can I print the @sign in HTML format? This is going to be in the header
> of the database search results, email particularly.
> 
> i.e.
> <pre>
> NAME            EMAIL(username@man.amis.com)    PHONE
> $variables
> 
> </pre>
> 
> Thanks in advance!!!

-- 
Matt's daily comic strip
Porridge and Fartcakes
http://www.whiterabbit.co.uk/cartoons


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

Date: Sun, 11 Oct 1998 20:49:01 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: Print @ sign
Message-Id: <MPG.108b1c05b4f766529898b0@nntp.hpl.hp.com>

[Posted to comp.lang.perl.misc and copy mailed.]

In article <01bdf58f$5b8715f0$2bbe10ac@amipnet> on 12 Oct 1998 03:25:52 
GMT, AMIP <sroque@man.amis.com> says...
> How can I print the @sign in HTML format? ... 

You can print the @ sign in HTML format as the character '@'.  (You can 
also print it as '&#64;', but why bother?)

However, to include the @ sign in a double-quoted string, you must escape 
it by preceding it with a backslash, or Perl will try to do an array 
substitution (just as it tries to do a scalar substitution for an 
unescaped $ sign).  So '...@...' or "...\@...".

-- 
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com


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

Date: 12 Oct 1998 02:52:40 GMT
From: damian@cs.monash.edu.au (Damian Conway)
Subject: Re: print bug/feature?
Message-Id: <6vrqto$5f7$1@towncrier.cc.monash.edu.au>

lr@hpl.hp.com (Larry Rosler) writes:

>As good as the 'engineering' proof that all odd positive integers are 
>prime:  '1' is prime, '3' is prime, '5' is prime, '7' is prime, ...

'9'  is experimental error
'11' is prime
'13' is prime
'15' is prime (for sufficiently composite values of "prime")
'17' is prime
'19' is prime
 ...

Yup, looks like you're right!

Damian


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

Date: Mon, 12 Oct 1998 02:14:17 GMT
From: steve.cooke@wmc.com.au
Subject: printing reserved characters from Perl script to web page.
Message-Id: <6vrolp$ipa$1@nnrp1.dejanews.com>

I am using DBI v1.02 and DBD v0.16 to retrieve data from a database with the
view to editing it via a web page. The data is being selected correctly (I've
checked using dbi_trace = 2) but only part of each returned row gets printed
to the web page. I suspect that the culprit for this is a character that
needs some specific formating in order to get it to print.

An example of the data that is being returned by the database is:  'Me
<i.am@work>' (i.e. an email address, enclosed in '<' and '>', preceded by a
name).

I have had no prior experience with similar problems so any help you can give
me would appreciated. Could you please reply via email as most of you have
probably already seen these sorts of requests before and, also, my news feed
is via Dejanews and, quite likely, I'll miss any replies.

Thanks,

Steve Cooke,
steve.cooke@wmc.com.au

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Mon, 12 Oct 1998 00:09:16 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: printing reserved characters from Perl script to web page.
Message-Id: <comdog-ya02408000R1210980009160001@news.panix.com>
Keywords: from just another new york perl hacker

In article <6vrolp$ipa$1@nnrp1.dejanews.com>, steve.cooke@wmc.com.au posted:

>I am using DBI v1.02 and DBD v0.16 to retrieve data from a database with the
>view to editing it via a web page. The data is being selected correctly (I've
>checked using dbi_trace = 2) but only part of each returned row gets printed
>to the web page. I suspect that the culprit for this is a character that
>needs some specific formating in order to get it to print.

does all of the data show up in the HTML source (whether or not it
is displayed by the browser)?

perhaps one of the modules that escapes special HTML characters would 
help.

-- 
brian d foy                                  <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
Comprehensive Perl Archive Network (CPAN) <URL:http://www.perl.com>
Perl Mongers needs volunteers! <URL:http://www.pm.org/to-do.html>


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

Date: Sun, 11 Oct 1998 20:42:40 -0700
From: Chi Yu <chi@ihomelistings.com>
Subject: Reading files from another website
Message-Id: <36217AB0.8F77B6E0@ihomelistings.com>

Greetings,

How can I read a file from a remote location (i.e. on someone else's
website)? Provided the file resides on their root directory (i.e. where
their home page index.html sits) and the file is marked as readable to
all, is it possible for me to simply open their file and read it?

I tried a test script but it failed to find the file or directory. Is it
necessary to write a script to ftp the file to my local directory and
then read the local file?

Could you please direct me to a sample or provide some sample code to
accomplish this feat? Much thanks.

Best regards,
Chi Yu


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

Date: Sun, 11 Oct 1998 21:20:11 -0700
From: Chi Yu <chi@ihomelistings.com>
Subject: Re: Reading files from another website
Message-Id: <3621837B.966B45F8@ihomelistings.com>

I found the following code in another thread. It reads a remote file,
but I would like to be able to omit or skip the header information that
precedes the file contents in the returned data stream. Can anyone help?

Best regards, Chi Yu


The code snippet:
-----------------
use IO::Socket;
$host = "www.somesitename.com";
$document = "/robots.txt";
$remote = IO::Socket::INET->new (Proto => "tcp",
                                 PeerAddr  => $host,
                                 PeerPort  => 80, );
  unless ($remote) { die "cannot connect to http daemon on $host" }
$remote->autoflush(1);

print $remote "GET $document HTTP/1.0\n\n";
while ( <$remote> ) {
  print "$_<BR>\n";}
close $remote;

The results: (the file's data begins with "User-agent ...")
------------
HTTP/1.1 200 OK 
Date: Mon, 12 Oct 1998 04:14:01 GMT 
Server: Rapidsite/Apa-1.2.6 FrontPage 
Last-Modified: Tue, 05 May 1998 19:04:38 GMT 
ETag: "202993c-164-354f62c6" 
Content-Length: 356 
Accept-Ranges: bytes 
Connection: close 
Content-Type: text/plain 
X-Pad: avoid browser bug 

User-agent: * # directed to all spiders 
Disallow: /cgi-local 
Disallow: /dbms


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

Date: Mon, 12 Oct 1998 03:32:31 +0200
From: martin <martin@kiss.sk>
Subject: Re: symlinks and perl
Message-Id: <36215C2E.4F8E3667@kiss.sk>

Shane Dewitt wrote:

> hi, this is my first time posting and i still new to perl.
>
> my problem is that i have a html form that calls a symlink in
> /usr/csite5/WebServer/httpd/cgi-bin/TestPlans/TestPlan.pl (symlink is
> called TestPlan.pl) which points to
> /usr/csite5/WebServer/httpd/cgi-bin/TestPlans/1-0/TestPlan.pl
>
> which works but the reall TestPlan.pl still thinks its in the symlink
> dir and cannot
> find it required files which are in the 1-0/. directory.
>
> please cc replay to dewitt@cebaf.gov

  try to configure httpd
apache directive to follow symbolic links (www.apache.org documentation)
FollowSymLinks
in httpd.conf or .htaccess file Options Indexes FollowSymLinks for
<Directory>

<Directory /usr/csite5/WebServer/httpd/cgi/TestPlans/1-0/>
   Options Indexes FollowSymLinks
</Directory>

or add Options line in .htacces file in ../cgi/ directory (read more in
server documentation)

dev0




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

Date: Mon, 12 Oct 1998 04:17:30 GMT
From: jesten@wdynamic.com
Subject: Re: What do you need to run perl?
Message-Id: <6vrvsq$rv8$1@nnrp1.dejanews.com>

In article <362049E5.34F3@mmac.is.lmsc.lockheed.com>,
  John Doe <doe#m#_john@mmac.is.lmsc.lockheed.com> wrote:
> I would like to distribute perl scripts on a CD to machines that do not
> always have it installed. Can most of perl be kept on the CD and only a
> small working directory be maintained in the machine running it? Is it
> necessary to require a full installation in the machine running the
> scripts?
>
>                             chuck.meyers@lmco.com
>

*NIX or Win32?  If Win32, you might want to consider making them .exe files
with the pl2exe.exe program included in the Win32 Perl Resource Kit...

Jim
--
Jim Esten, Lead Developer, WebDynamic/
Applications Lead, StarQuest Internet Services

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Mon, 12 Oct 1998 03:41:07 +0200
From: martin <martin@kiss.sk>
Subject: Re: Why it doesn't work under UNIX??????
Message-Id: <36215E33.F7E63CCC@kiss.sk>

Alastair wrote:

> Michael Yevdokimov <flanker@sonnet.ru> wrote:
> >#!/usr/local/bin/perl
>
> [SNIP]
>
> Why doesn't it work? Who knows? Who cares? It's difficult to read through this
> badly formatted code basically. Perhaps a '-w' switch might help. Perhaps
> checking the status of your 'open' calls.
>
> I wish you luck.
>
> --
>
> Alastair
> work  : alastair@psoft.co.uk
> home  : alastair@calliope.demon.co.uk

try  write on start

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

dev0





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

Date: 12 Jul 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Special: Digest Administrivia (Last modified: 12 Mar 98)
Message-Id: <null>


Administrivia:

Special notice: in a few days, the new group comp.lang.perl.moderated
should be formed. I would rather not support two different groups, and I
know of no other plans to create a digested moderated group. This leaves
me with two options: 1) keep on with this group 2) change to the
moderated one.

If you have opinions on this, send them to
perl-users-request@ruby.oce.orst.edu. 


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.  

To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.

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.

The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.

The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.

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 V8 Issue 3950
**************************************

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