[17689] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 5109 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Dec 14 09:05:40 2000

Date: Thu, 14 Dec 2000 06: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: <976802707-v9-i5109@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Thu, 14 Dec 2000     Volume: 9 Number: 5109

Today's topics:
    Re: 3 questions <skv@iis.nsk.su>
    Re: =~ operator (Abigail)
    Re: ??newbie: s/// and \r <lincmad001@telecom-digest.zzn.com>
    Re: ??newbie: s/// and \r <josef.moellers@fujitsu-siemens.com>
    Re: ??newbie: s/// and \r <lincmad001@telecom-digest.zzn.com>
    Re: FileSearch (Abigail)
    Re: ftp - which funcion for changing local site directo <nospam.newton@gmx.li>
    Re: FTP <roman.stawski@fr.adp.com>
    Re: Hopefully not to difficult a question. Please Help msalerno@my-deja.com
        How to mysqldump from perl? <ogg@shrunk.com>
        Multiply the actual number of letters entered in a form <pubic.hairsphil.latio@f-in-stupid.co.uk>
        number of rows in mySQL table richard_dobson@my-deja.com
    Re: number of rows in mySQL table <nospam.newton@gmx.li>
        Please help with this script! Weird problem <mikelin6@home.com>
    Re: Please help with this script! Weird problem (Rafael Garcia-Suarez)
    Re: Please help with this script! Weird problem <andyw2@nospam.btconnect.com>
    Re: Please help with this script! Weird problem <iltzu@sci.invalid>
        using perl to call external libraries <mark_lybarger@yahoo.com>
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

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

Date: Thu, 14 Dec 2000 18:29:48 +0600
From: "Konstantin Stupnik" <skv@iis.nsk.su>
Subject: Re: 3 questions
Message-Id: <91aed6$u62$1@nl.novosoft.ru>

"Chris Fedde" <cfedde@fedde.littleton.co.us> wrote in message
news:soZZ5.231$B9.188798464@news.frii.net...
> In article <3A385DF4.43499BF2@best.com>,
> Bill Chapman  <bchapman@best.com> wrote:
> >-=-=-=-=-=-
> >
> >I'm trying to convert some .csh files to perl.  I have 3 questions.
> >Please reply:
> >
> >- in the csh script, I used redirection of I/O, for example
> >
> >    % myprog >myfile.txt
> >
> >  is there a way to do this in perl?
> >
>
> There are something that the shell is just better at...
> In perl you might do something like this:
>
>     open(F, ">myfile.txt") or die "$0: can't open myfile.txt: $!";
>     open(G, "myprog |") or die "$0: can't start myprog: $!";
Opening a pipe will never return a error.
You can find out that an error happened only
by checking close;

>     while (<G>) {
> print F;
>     }
close F;
close G or die "$0: failed to start myprog: $!";


--
Best regards,
  Konstantin.
Brainbench MVP for perl.




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

Date: 14 Dec 2000 12:50:55 GMT
From: abigail@foad.org (Abigail)
Subject: Re: =~ operator
Message-Id: <slrn93hghf.elk.abigail@tsathoggua.rlyeh.net>

On Thu, 14 Dec 2000 05:36:15 GMT, Chris Fedde (cfedde@fedde.littleton.co.us) wrote in comp.lang.perl.misc <URL: news:<j%YZ5.229$B9.188798464@news.frii.net>>:
++ In article <3a380f28@cs.colorado.edu>,
++ Tom Christiansen <tchrist@perl.com> wrote:
++ >
++ >From the Camel:
++ >
++ >    =head1 Binding Operators
++ >
++ >    =for index
++ >    binding;operators 
++ >    @equal=&eq; (equal sign) ;@equaltilde=&eq;~ (binding) operator 
++ >    binary;binding (&eq;~) operator 
++ >
++ >    Binary C<=~> binds a string expression to a pattern match,
++ 
++ I presume this is from the source of the Camel book that includes you as
++ author?  I'm curious; Why does it sometimes uses entities and other
++ times uses pod?


From man perlpod:
       =for

       =begin

       =end
           For, begin, and end let you include sections that are
           not interpreted as pod text, but passed directly to
           particular formatters. A formatter that can utilize
           that format will use the section, otherwise it will be
           completely ignored.  The directive "=for" specifies
           that the entire next paragraph is in the format
           indicated by the first word after "=for", like this:

            =for html <br>
             <p> This is a raw HTML paragraph </p>


Abigail
-- 
push @INC => sub {($\ = pop) =~ s/\..*/ /; print ""};
eval "use Just" || eval "use another" || eval "use Perl" || eval "use Hacker";


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

Date: Thu, 14 Dec 2000 03:24:09 -0800
From: Linc Madison <lincmad001@telecom-digest.zzn.com>
Subject: Re: ??newbie: s/// and \r
Message-Id: <141220000324093646%lincmad001@telecom-digest.zzn.com>

In article <NoSpamOg-600105.18091113122000@news.bremtn1.wa.home.com>,
Caveman Og <NoSpamOg@bad.example.cave-home.org.invalid> wrote:

> \n is indeed \10 on most sensible systems.
> 
> Not all systems are sensible.

Actually, \012 is the only one of the three choices for end of line
that does NOT make sense.

DOS/Windows' choice of \015\012 harkens back to the days when you had
to tell the line printer to do a carriage return (move to column 1) and
also advance the paper by one line.

Macintosh's choice of only \015 harkens to typewriters, most of which
automatically advance the paper by one line when you press RETURN. That
choice clearly makes the most sense.

Unix's choice of only \012 -- defined in ASCII as "vertical tab" or
"Line Feed" -- makes no sense, because a vertical tab has no horizontal
motion associated with it. It's the equivalent of the "INDEX" key on an
IBM Selectric typewriter.


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

Date: Thu, 14 Dec 2000 12:44:22 +0100
From: Josef Moellers <josef.moellers@fujitsu-siemens.com>
Subject: Re: ??newbie: s/// and \r
Message-Id: <3A38B296.1B20FB27@fujitsu-siemens.com>

Linc Madison wrote:

> Unix's choice of only \012 -- defined in ASCII as "vertical tab" or
> "Line Feed" -- makes no sense, because a vertical tab has no horizontal=


\013 is "vertical tab", \012 is "newline".

-- =

Josef M=F6llers (Pinguinpfleger bei FSC)
	If failure had no penalty success would not be a prize (T.  Pratchett)


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

Date: Thu, 14 Dec 2000 04:40:01 -0800
From: Linc Madison <lincmad001@telecom-digest.zzn.com>
Subject: Re: ??newbie: s/// and \r
Message-Id: <141220000440015655%lincmad001@telecom-digest.zzn.com>

In article <3A38B296.1B20FB27@fujitsu-siemens.com>, Josef Moellers
<josef.moellers@fujitsu-siemens.com> wrote:

> \012 is "newline".

Only because Unix DEFINED it that way. ASCII does *NOT* define \012 as
"newline."

\012 is "LINE FEED" which is NOT the same thing as "newline" to the
rest of the world.

(Yes, I was wrong about vertical tab, but I'm right about line feed.)

Line Feed is a poor choice for a newline character, objectively
speaking, since it has a fundamentally INCOMPATIBLE meaning.

The carriage return has a meaning that is fundamentally COMPATIBLE with
"newline," because carriage return means return to the leftmost column
of output. Line Feed does NOT contain that meaning.

But anyway, I've said my piece on the subject for now.


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

Date: 14 Dec 2000 12:56:46 GMT
From: abigail@foad.org (Abigail)
Subject: Re: FileSearch
Message-Id: <slrn93hgse.elk.abigail@tsathoggua.rlyeh.net>

On Wed, 13 Dec 2000 22:57:37 GMT, Lars Svensson (lars_lars@home.se) wrote in comp.lang.perl.misc <URL: news:<B9TZ5.463$wz.26977@nntp1.chello.se>>:
++ 
++ I want to write a searchengine for a single computer with multiple disks.
++ Does anyone know which module to use?


There are several modules you could use. I'd recommend to at least use strict.

BTW, makes you think that having multiple disks is significant?

Abigail


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

Date: Thu, 14 Dec 2000 12:48:56 +0100
From: "Philip 'Yes, that's my address' Newton" <nospam.newton@gmx.li>
Subject: Re: ftp - which funcion for changing local site directory
Message-Id: <9sch3tkte7ah8hngnosfgu1ehh82g21o4n@4ax.com>

On 14 Dec 2000 10:24:25 GMT, cljlk@hotmail.com (J. K.) wrote:

> Hi,
> Which funcion I can use for changing local site directory.
> Your help will be appreciated.

chdir(). This has nothing to do with FTP, though.

Cheers,
Philip
-- 
Philip Newton <nospam.newton@gmx.li>
If you're not part of the solution, you're part of the precipitate


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

Date: Thu, 14 Dec 2000 12:06:58 +0100
From: Roman Stawski <roman.stawski@fr.adp.com>
Subject: Re: FTP
Message-Id: <3A38A9D2.E183A685@fr.adp.com>

"J. K." wrote:
> 
> Hi,
> 
> I use FTP.pm, I don't see FTP.pm support lcd command.
> I can use $ftp->cwd() to change remote site directory.
> How do I change local site directory?

Tried chdir ?

-- 
Roman Stawski - ADPgsi


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

Date: Thu, 14 Dec 2000 13:24:31 GMT
From: msalerno@my-deja.com
Subject: Re: Hopefully not to difficult a question. Please Help
Message-Id: <91ahmb$lqa$1@nnrp1.deja.com>

In article <1r4s082dlm.fsf@video.bsd.uchicago.edu>,
  John Hunter <jdhunter@nitace.bsd.uchicago.edu> wrote:
> >>>>> "msalerno" == msalerno  <msalerno@my-deja.com> writes:
>
>     msalerno> I need to modify the password field of the passwd file.
>     msalerno> Is there any way that I can modify the file ?  I don't
>     msalerno> want to have to rewrite the passwd file.  I don't want
>     msalerno> to have to make any system calls to sed or some other
>     msalerno> utility.  Please let me know how I can do this, or let
>     msalerno> me know where I could get some sample script that I
>     msalerno> could pick apart.  Any info will be considered helpful.
>
> I don't think you should be overly concerned about rewriting the
> password file.  This can be done easily and safely.  You can
> automatically generate backups within your perl script for extra
> security.
>
> You will be more likely to wreck your data file if you try to do the
> editing in place.  You will have to work at the binary level and I am
> sure that this will be more error prone than working at the text
> level.
>
> What was wrong with the solution and detailed commentary that Chris
> Fedde offered when you asked this question Monday?
>
> John Hunter
>
There was absolutely nothing wrong with the proposed solution, but, I
want to get as much information as possible before I consider the script
complete.  There are many ways to accomplish the same task with perl,
and I like to get as many opinions as I can.  The information supplied
by Chris Fedde was perfect, but the reason that we all post here is so
that we can collect as much information as possible, and that is all
that I am doing.  And since I just got 4+ posts letting me know that I
cannot modify a field in the passwd file without rewriting the entire
file, I can focus on that.


Thanks everyone,

Matt


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


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

Date: Thu, 14 Dec 2000 13:56:29 -0000
From: "ogg" <ogg@shrunk.com>
Subject: How to mysqldump from perl?
Message-Id: <%g4_5.3361$T%5.47361@news6-win.server.ntlworld.com>

How do I get my perl script to do a mysqldump of my entire database?
I can do it from the command line eg
mysqldump dbase -u name -p >dbase.csv

Thanks
Ogg




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

Date: Thu, 14 Dec 2000 13:59:33 -0000
From: "Phil Latio" <pubic.hairsphil.latio@f-in-stupid.co.uk>
Subject: Multiply the actual number of letters entered in a form field
Message-Id: <se4_5.14852$I5.167922@stones>

Hi

I want to put a two field form on a webpage which returns a calculated
figure when submitted.

The first field is for entering text and the second is to enter a number.
The calculation is to simply multiply the number of letters in field one by
the value entered in field two.

I am wondering if this can be done in Perl or should I consider a javascript
solution (OK I know wrong newsgroup for javascript) as I am trying to
incorporate this function within an existing Perl shopping cart. However I
would still like to know how to do this with Perl hence my post here.

If someone could give us a bit of help, I would be very grateful.

--
Phil Latio
The man who put the f in stupid
shave off pubic.hairs to reply




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

Date: Thu, 14 Dec 2000 10:56:13 GMT
From: richard_dobson@my-deja.com
Subject: number of rows in mySQL table
Message-Id: <91a90d$ffb$1@nnrp1.deja.com>



Hi,
does anyone know a quick way of retrieving the number of rows in a
table. I know there are statements for retrieving the number of rows
affected by the last executed statement

cheers
Richard


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


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

Date: Thu, 14 Dec 2000 12:49:33 +0100
From: "Philip 'Yes, that's my address' Newton" <nospam.newton@gmx.li>
Subject: Re: number of rows in mySQL table
Message-Id: <itch3tc2t03sucr4cveplf3td164ip14pg@4ax.com>

On Thu, 14 Dec 2000 10:56:13 GMT, richard_dobson@my-deja.com wrote:

> Hi,
> does anyone know a quick way of retrieving the number of rows in a
> table. I know there are statements for retrieving the number of rows
> affected by the last executed statement

I'd use 'select count(*) from table'.

Cheers,
Philip
-- 
Philip Newton <nospam.newton@gmx.li>
If you're not part of the solution, you're part of the precipitate


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

Date: Thu, 14 Dec 2000 12:44:25 GMT
From: Mike Lin <mikelin6@home.com>
Subject: Please help with this script! Weird problem
Message-Id: <3A38C233.F52EF069@home.com>

ok, here is my problem.  I need to create a cgi script that does some
operations on some variables.  But then I need to output this cgi script

as a  html page as well by doing something like this

print "Content-type: text/html\n\n";
print "<html><title>My page</title>";
print "<body>page contents</body>";
 ....
print "</html>";

Actually though I did this...(so I wouldn't have to keep typing "print")

print<<"END"
Content-type: text/html\n\n
<html><title>My page</title>
<body>page contents</body>
 ....
</html>
END

Anyways this works fine for small amounts of html like what i did above
but for some reason when put a lot of html using this format the page
gets an error.  To recap when I only put a small amount of html the page

will display with the html formatting but when I put a lot it doesn't
work! I thought there might be a length limit in a perl script so I
tried to work around this by putting all the html formatting as a
library and then calling the library from the perl script.  This did not
work!  Again this only worked when I made the library with a little
amount of html formatting but would  not work when the library contained
a lot of html.  I really need some help figuring this out.

Below is the file (where i put in a lot of html but doesn't work).
Please help me if you can...i have spent a lot of time trying to figure
thsi out!




#!/usr/local/bin/perl

require "subparseform.lib";
&Parse_Form;

$first = $formdata{'first'};
$last = $formdata{'last'};
$company = $formdata{'company'};
$address = $formdata{'address'};
$city = $formdata{'city'};
$state = $formdata{'state'};
$zip = $formdata{'zip'};
$email = $formdata{'email'};

#############################
#generate download code
#
$temp = ord($first) + ord($last) + ord($company);
while ($temp < 999999999)
{
 $temp *= 2;
}
$code = $temp;





##############################
#Save information from form to
#/data/data.txt
#
open (LOG, ">>../data/data.txt") || &ErrorMessage;
flock (LOG, 2);
print LOG `date`;
print LOG "\n";
print LOG "First Name: $first\n";
print LOG "Last Name: $last\n";
print LOG "Company: $company\n";
print LOG "Address: $address\n";
print LOG "City: $city\n";
print LOG "State: $state\n";
print LOG "Zip: $zip\n";
print LOG "Email: $email\n";
print LOG "Download Code: $code\n";
print LOG "\n";
flock (LOG, 8);
close (LOG);





##############################
#email download code
#
#code goes here (not finished)
#
#
#



##############################
#html outputs
#
print<<"END";
<HTML><HEAD><TITLE>Error</TITLE>



<META content="MSHTML 5.00.2614.3500" name=GENERATOR>

<META content="zero 011, default" name="Microsoft Theme">

<META content="tlb, default" name="Microsoft Border"></HEAD>

<BODY aLink=#009900 background=zertxtr.gif bgColor=#000000

leftMargin=0 link=#ffffff text=#999999 topMargin=0 vLink=#336633
MARGINS="0"><!--msnavigation-->

<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">

  <TBODY>

  <TR>

    <TD><!--mstheme--><FONT face="arial, helvetica">

      <P>

      <TABLE align=center border=0 cellPadding=0 cellSpacing=0
width="100%">

        <TBODY>

        <TR>

          <TD align=left vAlign=top width="10%"><A

            href="http://www.industrialnetworking.com/"

            onmouseover="self.status='Industrial Networking Solutions';
return true"><IMG

            border=0 height=90 src="INS_PageTopper_L.gif"

            width=220></A></TD>

          <TD background=INS_PageTopper_F.gif

          width="70%">&nbsp;</TD>

          <TD align=right background=INS_PageTopper_F.gif

          width="20%"><img border=0 height=90

            src="INS_PageTopper_R.gif"

            width=417></TD>

        </TR></TBODY></TABLE><p></P>

      <P>&nbsp;</P>

      </FONT></TD>

  </TR><!--msnavigation--></TBODY></TABLE>

<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">

  <TBODY>

  <TR>

    <TD vAlign=top width="95"><!--mstheme-->
      <p> <NOBR><font face="arial, helvetica"><nobr><a
href="http://www.industrialnetworking.com/"><font
face="Arial"><b>Home</b></font></a><b><br>

        <a href="about.htm">About
INS</a></b></nobr></font></NOBR><b><br>

        <NOBR><font face="arial,
helvetica"><nobr></nobr></font></NOBR><NOBR><font face="arial,
helvetica"><font face="Arial"><nobr><a href="contactinfo.htm">Contact

        Info</a></nobr></font></font></NOBR></b><NOBR><font face="arial,

helvetica"><font face="Arial"><nobr></nobr>

        <br>

        <nobr></nobr></font></font></NOBR></p>

      <FONT face="arial, helvetica"><B>

      <P></P>

      <!--mstheme--></b></FONT></TD>

    <TD vAlign=top width=15></TD>

    <!--msnavigation-->

    <TD vAlign=top width="660" bordercolor="#FFFFFF"><font face="arial,
helvetica" color="#FFFFFF"><b>An
      email with the download code has been sent to your email
address.<br>
      Please check your email and enter the code below to download the
Trial Version
      Industrial SNMP Suite.<br>
      </b></font>
      <FORM
ACTION="http://www.industrialnetworking.com/cgi/download.cgi"
METHOD=POST>
        <p><br>
          <b><font face="arial, helvetica" color="#FFFFFF">Enter
Download Code:
          <INPUT TYPE="text" NAME="ucode">
          <INPUT TYPE=hidden NAME=first VALUE=$first>
          <INPUT TYPE=hidden NAME=last VALUE=$last>
          <INPUT TYPE=hidden NAME=company VALUE=$company>
          <INPUT TYPE="submit" VALUE="Submit" NAME="submit">
          </font> </b> </p>
        </FORM>

    </TD>

  </TR><!--msnavigation--></TBODY></TABLE><!--msnavigation-->

<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">

  <TBODY>

  <TR>

    <TD><!--mstheme--><FONT face="arial, helvetica">

      <P>&nbsp;</P>

      <P><b><NOBR><font face="Arial">[&nbsp;<A

      href="http://www.industrialnetworking.com/">Home</A>&nbsp;] [ <a
href="about.htm">About

        INS</a> ] [<a href="contactinfo.htm">Contact
Info</a>]</font></NOBR></b><NOBR></NOBR></P>

      <!--mstheme--><FONT color=#003366

      face="arial black, arial, helvetica"><font color="#008000"
face="Arial"><nobr><b>Send

      mail to <A


href="mailto:webmaster@industrialnetworking.com">webmaster@industrialnetworking.com</A>

      with questions or comments about this web site.</b></nobr><b><BR>

      Copyright © 2000 Industrial Networking, Inc.<BR>

      Last modified: October 20, 2000<STRONG>
</STRONG></b></font><b><font
face="Arial"><!--mstheme--></font></b></FONT><b><!--mstheme--></b></FONT></TD>

  </TR><!--msnavigation--></TBODY></TABLE></BODY></HTML>
END




#################################
#Error Message for saving file
#
sub ErrorMessage {
 print "Content-type: text/html\n\n";
 print "The server can't open the file. It either doesn't exist or the
permissions are wrong. \n";
 exit;
}







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

Date: Thu, 14 Dec 2000 12:51:20 GMT
From: rgarciasuarez@free.fr (Rafael Garcia-Suarez)
Subject: Re: Please help with this script! Weird problem
Message-Id: <slrn93hgii.t5.rgarciasuarez@rafael.kazibao.net>

Mike Lin wrote in comp.lang.perl.misc:
> ok, here is my problem.  I need to create a cgi script that does some
> operations on some variables.  But then I need to output this cgi script
> 
> as a  html page as well by doing something like this
> 
> print "Content-type: text/html\n\n";
> print "<html><title>My page</title>";
> print "<body>page contents</body>";
> ....
> print "</html>";
> 
> Anyways this works fine for small amounts of html like what i did above
> but for some reason when put a lot of html using this format the page
> gets an error.

What error do you get? What does the error_log say? We can't usefully
help you without some diagnosis info. BTW, run your script with -w and
"use strict". This is most useful for debugging.

-- 
# Rafael Garcia-Suarez / http://rgarciasuarez.free.fr/


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

Date: Thu, 14 Dec 2000 13:25:43 -0000
From: "AndyW" <andyw2@nospam.btconnect.com>
Subject: Re: Please help with this script! Weird problem
Message-Id: <7S3_5.34080$_h.201086@NewsReader>


"Mike Lin" <mikelin6@home.com> wrote in message
news:3A38C233.F52EF069@home.com...
> ok, here is my problem.  I need to create a cgi script that does some
> operations on some variables.  But then I need to output this cgi script
>
> as a  html page as well by doing something like this
>
> print "Content-type: text/html\n\n";
> print "<html><title>My page</title>";
> print "<body>page contents</body>";
> ....
> print "</html>";
>
> Actually though I did this...(so I wouldn't have to keep typing "print")
>
> print<<"END"
> Content-type: text/html\n\n
> <html><title>My page</title>
> <body>page contents</body>
> ....
> </html>
> END
>

<snip>

I tried this once and came to the conclusion that the

print <<END
stuff...
END

structure only works for plain text, i.e. variables muck it up. I didn't
find any documentation to support this theory but any size of text WITHOUT
variables in it worked fine, but even a single line WITH a variable didn't.

HTH
Andy




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

Date: 14 Dec 2000 13:57:05 GMT
From: Ilmari Karonen <iltzu@sci.invalid>
Subject: Re: Please help with this script! Weird problem
Message-Id: <976801823.1844@itz.pp.sci.fi>

In article <7S3_5.34080$_h.201086@NewsReader>, AndyW wrote:
>I tried this once and came to the conclusion that the
>
>print <<END
>stuff...
>END
>
>structure only works for plain text, i.e. variables muck it up. I didn't
>find any documentation to support this theory but any size of text WITHOUT
>variables in it worked fine, but even a single line WITH a variable didn't.

"I went to a party wearing a blue shirt once, and had a really lousy
 time.  I think parties are only fun if you don't wear a blue shirt."

Here-documents work just fine with variables.  If you write <<"HERE"
or <<HERE, any variables will be interpolated.  If you write <<'HERE',
they won't be.  Either way, they won't "muck it up".

-- 
Ilmari Karonen -- http://www.sci.fi/~iltzu/
"Get real!  This is a discussion group, not a helpdesk.  You post
 something, we discuss its implications.  If the discussion happens to
 answer a question you've asked, that's incidental." -- nobull in clpm



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

Date: Thu, 14 Dec 2000 08:24:28 -0500
From: Mark <mark_lybarger@yahoo.com>
Subject: using perl to call external libraries
Message-Id: <3A38CA0C.5BD13FFB@yahoo.com>

Hi,

Does anyone know if it's possible to call a C++ library using Perl?  I
have a library file recieved from an outside source, and need to
incorporate its functionality via the web (CGI).

Thanks!
-Mark




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

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 5109
**************************************


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