[13151] in Perl-Users-Digest
Perl-Users Digest, Issue: 561 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Aug 17 00:07:25 1999
Date: Mon, 16 Aug 1999 21:05:08 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Mon, 16 Aug 1999 Volume: 9 Number: 561
Today's topics:
Re: <== importing hash symbols from one package to anot <khowe@performance-net.com>
Re: <== importing hash symbols from one package to anot <uri@sysarch.com>
cannot write description to eventlog da_minch@my-deja.com
Re: CGI.pm or here document for html support@gethits.com
Re: Counting lines of block of text (Martien Verbruggen)
Re: Counting lines of block of text (William Herrera)
Re: Creating hotlinks out of plain URLs in Perl. <sunfox@sunwerx.com>
Re: djgpp, Win98, Perl, and serial port <dchristensen@california.com>
Re: how can i switch to perl5 (Martien Verbruggen)
Re: mod (%) in PERL (Greg Teets)
Re: Multi-Page Forms (brian d foy)
Newbie question: Creating a NT login script in Perl lcook@carolina.rr.com
Re: ODBC & UNIX <peter@berghold.net>
Re: perl and ftp download <heather.wiley.fake@bentley.com>
Re: perl and ftp download (elephant)
Re: perl on linux <rick.delaney@home.com>
Perl SUID script <dutch@mindspring.com>
Re: Perl SUID script (Martien Verbruggen)
Re: Referencing Questions <rick.delaney@home.com>
Re: sending text fields with ENCTYPE="multipart/form-da <tbornhol@prioritytech.com>
SQL from Perl (was Re: Japanese Girl Needs Help.) <peter@berghold.net>
Re: Strange trouble with a STRAY CURLY BRACE "}" (brian d foy)
Re: unCRAP (was Re: Perl Services) (brian d foy)
Re: unCRAP (was Re: Perl Services) <uri@sysarch.com>
Digest Administrivia (Last modified: 1 Jul 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 16 Aug 1999 23:14:23 -0300
From: "Kevin Howe" <khowe@performance-net.com>
Subject: Re: <== importing hash symbols from one package to another ==>
Message-Id: <Qt3u3.46895$5r2.96672@tor-nn1.netcom.ca>
I am told that instead of using the @EXPORT array you should use the
@EXPORT_OK since it only exports if necessary, but when I change @EXPORT =
qw(%hash); to @EXPORT_OK = qw(%hash); it no longer works. Is their something
else needed to make this work?
Thanks
Bart Lateur wrote in message <37ba7782.832608@news.skynet.be>...
>Kevin Howe wrote:
>
>>Can anyone prove that Exporter can actually do this?
>
>>@EXPORT = qw(hash);
>
>Make this:
>
> @EXPORT = qw(%hash);
>
>I too think that the docs in Exporter.pm aren't clear on this. I
>actually had to find out through examining it's source code! Testing
>that it works, was of course the icing on the cake.
>
> Bart.
------------------------------
Date: 16 Aug 1999 22:23:44 -0400
From: Uri Guttman <uri@sysarch.com>
Subject: Re: <== importing hash symbols from one package to another ==>
Message-Id: <x7ogg716xb.fsf@home.sysarch.com>
>>>>> "KH" == Kevin Howe <khowe@performance-net.com> writes:
KH> I am told that instead of using the @EXPORT array you should use
KH> the @EXPORT_OK since it only exports if necessary, but when I
KH> change @EXPORT = qw(%hash); to @EXPORT_OK = qw(%hash); it no
KH> longer works. Is their something else needed to make this work?
first, stop playing jeopardy and put you comments AFTER the quoted text,
and edit the quoted text.
second, @EXPORT forces the exporting of those symbols, while @EXPORT_OK
allows them to be exported. so you have to request it when you use the
module. this is done by passing the names of what you want exported to
the use command.
use FOO qw( %import_this_hash ) ;
uri
--
Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering
uri@sysarch.com --------------------------- Perl, Internet, UNIX Consulting
Have Perl, Will Travel ----------------------------- http://www.sysarch.com
The Best Search Engine on the Net ------------- http://www.northernlight.com
"F**king Windows 98", said the general in South Park before shooting Bill.
------------------------------
Date: Tue, 17 Aug 1999 02:37:52 GMT
From: da_minch@my-deja.com
Subject: cannot write description to eventlog
Message-Id: <7pahtv$5fg$1@nnrp1.deja.com>
i can successfully read, clear and backup the eventlog via
eventlog.pm. however, when attempting to write to one of the given
eventlog(s) i cannot insert a message (what is referred to as the
description in eventvwr.exe). any help will be most appreciated.
minch
below is the code that i am making use of for this portion of the app:
########
use Win32::EventLog;
$handle = Win32::EventLog->new("Application", $ENV{ComputerName});
msg("im not feeling very intelligent");
sub msg
{
my $h = {'EventType' => EVENTLOG_ERROR_TYPE,
'Source' => "whatever",
'Computer' => "boxname",
'EventCategory' => "General",
'EventID' => 0,
'Data' => @_,
'Strings' => @_,
};
$handle->Report($h);
}
#not writing any string to message
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: Tue, 17 Aug 1999 02:33:25 GMT
From: support@gethits.com
Subject: Re: CGI.pm or here document for html
Message-Id: <37B8CB90.1A9A8146@gethits.com>
Makarand Kulkarni wrote:
> But consider the situation where the HTML has to generated
> programatically
> once the program has the results ready. A HERE document would be difficult
> to use here - more so with dynamic number of rows.
>
> Bottomline - use CGI.pm but not merely as replacement for HERE docs.
> --
Sounds balanced. Below is a little script I wrote to show env
variables in an atractive table (in netscape)...think I'll try it
with CGI.pm too. Darryl Dyck
#!/usr/bin/perl5
print <<"BEGIN_HTML";
Content-type: text/html
<HTML>
<HEAD>
<TITLE>ASSIGN2-3</TITLE>
</HEAD>
<BODY>
<P ALIGN="CENTER"><FONT SIZE="-1" FACE="Verdana, Arial"><B><I>Env
variables:</I></B></FONT></P>
<TABLE BGCOLOR="#59595B" WIDTH="360" BORDER="0" CELLPADDING="0"
CELLSPACING="0">
<TR>
<TD WIDTH="456">
<TABLE BORDER="0" WIDTH="360" CELLPADDING="2" CELLSPACING="2"
BGCOLOR="#B8DED2">
BEGIN_HTML
foreach $key (sort keys %ENV) {
print <<"TABLE";
<TR>
<TD WIDTH="201" ALIGN="CENTER"><FONT FACE="Arial" SIZE="-1"><FONT
COLOR="#B8DED2">.</FONT>$key has a value of:</FONT></TD>
<TD WIDTH="78"><FONT FACE="Arial" SIZE="-1">$ENV{$key}</FONT></TD>
</TR>
TABLE
}
print <<"TABLE";
<TR>
<TD WIDTH="201" ALIGN="CENTER"><FONT FACE="Arial" SIZE="-1"><FONT
COLOR="#B8DED2">.</FONT>prorated amount:</FONT></TD>
<TD WIDTH="78"><FONT FACE="Arial" SIZE="-1">
TABLE
($d, $m, $y) = (localtime)[3,4,5];
$amount = ((31-$d)/31)*9.95;
printf("\$%.2f\n", $amount);
print <<"END_HTML";
</FONT></TD>
</TR>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
END_HTML
------------------------------
Date: Tue, 17 Aug 1999 02:54:06 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Counting lines of block of text
Message-Id: <i94u3.216$Dq2.7373@nsw.nnrp.telstra.net>
In article <37B8A478.F6D30A62@mail.cor.epa.gov>,
David Cassell <cassell@mail.cor.epa.gov> writes:
> Mark McCoy wrote:
>> "$someArrayLength = $#linesFromFile;
>
> But that doesn't give the array length. It is off by 1.
\begin{pedant}
perl -w
$[ = 20;
@a = qw(a b c);
printf "%d %d\n", scalar @a, $#a;
__END__
3 22
It is off by $[ - 1
\end{pedant}
Martien
--
Martien Verbruggen |
Interactive Media Division | That's not a lie, it's a terminological
Commercial Dynamics Pty. Ltd. | inexactitude.
NSW, Australia |
------------------------------
Date: Tue, 17 Aug 1999 03:10:39 GMT
From: posting.account@lynxview.com (William Herrera)
Subject: Re: Counting lines of block of text
Message-Id: <37b8d099.130589177@news.rmi.net>
On Mon, 16 Aug 1999 12:51:53 -0700, "D. Stuart" <dstu@u.washington.edu> wrote:
>I have a program that returns a block of text.
What is 'a block' here?
>Currently I am assigning that to an array "@text".
Are individual lines in individual elements of the array? Or do you put the
whole block in $array[0] of something?
> I'd like to be able to
>count the number of lines of text that I have. I know how to do this when
>reading in a file... but not when it isn't a file.
>
>What is a simple way to do this?
Depends. If the lines are one to an element in the array, pehaps scalar @array
has the count. If not, counting lines may depend on the format in which the
block of text is stored
---
The above from: address is spamblocked. Use wherrera (at) lynxview (dot) com for the reply address.
------------------------------
Date: Tue, 17 Aug 1999 03:38:04 GMT
From: "Sunfox" <sunfox@sunwerx.com>
Subject: Re: Creating hotlinks out of plain URLs in Perl.
Message-Id: <wO4u3.112288$U42.165543@news1.rdc1.bc.home.com>
Abigail wrote in message ...
>
>It works for me:
<SNIP>
I think I've figured it out. It won't work if there are "special" characters
in the URL, such as http://www.domain.com/~user/index.html - only the text
before ~ will be linked. Same with
http://www.domain.com/index.html#linktext - only the part before # is used.
This is a bit beyond me; is it possible to include ~ and # and ? in the list
of acceptable characters?
- Sunfox
------------------------------
Date: Mon, 16 Aug 1999 19:34:56 -0700
From: "David Christensen" <dchristensen@california.com>
Subject: Re: djgpp, Win98, Perl, and serial port
Message-Id: <37b8c7c4@news5.newsfeeds.com>
-----Original Message-----
From: Bbirthisel@aol.com <Bbirthisel@aol.com>
To: dchristensen@california.com <dchristensen@california.com>
Date: Monday, August 16, 1999 2:39 PM
Subject: Re: djgpp, Win98, Perl, and serial port
Hi David:
In a message dated 8/16/99 3:12:46 PM Central Daylight Time,
dchristensen@california.com writes:
> >> This is my current attempt...
> >And it ... is doomed to failure on Win9x...
>
> Hmmm. Eli suggested that I look into serial I/O using DJGPP
first,
I'm not sure who Eli is. There are at least three sets of "serial
libraries" for DJGPP. I played with two of them at one time. I
think the gentleman in Japan tried all three and used the one I had
not used - but I'll have to look up the details.
> then try to do it in Perl. I also had the idea of writing test
patterns to the serial port from Perl and seeing what happens.
Writing patterns will "sort-of" work. The reliability is not high,
however. Reading is the problem.
> OK that's what I thought. My back-up plan has always been CPAN
first, ActivePerl second.
Unless you need to use cross-platform code. The 5.005 version is a
bit more portable to linux, et.al. The 5.004_02 version on CPAN was
a big leap forward for its time - but it is almost two years old.
And there is no chance of retrofitting the portability improvements
since then into that port.
> He is constrained by the DOS (DPMI?) API, which I never
learned --
Two of the libraries for DJGPP handle this for you (mostly - you
could play with the template code if you really HAD to).
> I always programmed to the standard C library when I was on DOS.
I did serial I/O once using MS Quick C several years ago, but
couldn't figure out my code the last time I looked at it (~6
months?). I think I got the key bits from sample code in the MS
Mouse Programmer's Guide. I remember there was one or more
bios-something calls, but I couldn't find decent documentation for
them or the DOS serial driver. It was monkey see, monkey do.
The Win9x/NT serial driver has very little in common with the DOS/
Win3.x one. It is so much superior I have sometimes wondered if $MS
contracted it out to silence all the complaints about "the dog".
> For this project, I ended up learning the Win32 API stuff and
writing a console utility to do blocking serial I/O with timeouts.
After experimenting for a while with "basic" DJGPP, I tried
RSXNTDJ. Sort of an OS2/DJGPP hybrid. It was much easier to create
loadable libraries (.DLL) with that setup. Then you could bypass
the console pass and keep the port open between calls.
> My early development support apps were Win98 batch files calling
the console utility. I then migrated the serial code into our
Borland C++ Builder production app. The development need is back,
and I refuse to use batch files -- thus Perl. But the console
utility is slow and the constant open/closing of the serial port
confuses everything on the RS-485 bus.
I'll believe THAT.
> The clean Perl solution would be a DJGPP::SerialPort. A
work-around might be a Win32 service with a (piped? socketed?)
console interface.
If someone were compiling a DJGPP Perl, it would make sense to try
to compile in the Win32::API module. This allows making arbitrary
calls to the underlying Win32 libraries. With that, numerous useful
modules would become available. I haven't tried compiling Perl on
Win95 (recently - it used to be "impossible"- I'm not sure about
the current status). The other alternative is an XS implementation
if the DJGPP port would support it. There HAS been some work on an
XS version of Win32API::CommPort that does not require Win32::API -
but it's not even close to done, yet. And it would probably need a
$ponsor to speed it up since I have no pressing need for it.
-bill
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Tue, 17 Aug 1999 02:43:44 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: how can i switch to perl5
Message-Id: <A%3u3.214$Dq2.7373@nsw.nnrp.telstra.net>
In article <37B8BD1A.80CC262F@cyberonic.com>,
bishar fambrough <proneone@cyberonic.com> writes:
> i'm a pretty decent perl 4 programmner, but i need to make the switch
> to perl 5 in a hurry. can anyone give me some pointers as to the
> fastest and most painless way this can be achieved? i'd love to be
> pointed to some online docs if at all possible.
# perldoc perldelta
# perldoc perltrap
you probably also want to read
# perldoc perldata
# perldoc perlmod
# perldoc perlref
# perldoc perldsc
Martien
--
Martien Verbruggen |
Interactive Media Division | If at first you don't succeed, try
Commercial Dynamics Pty. Ltd. | again. Then quit; there's no use being
NSW, Australia | a damn fool about it.
------------------------------
Date: Tue, 17 Aug 1999 03:06:34 GMT
From: teetsg@fuse.net (Greg Teets)
Subject: Re: mod (%) in PERL
Message-Id: <37b8d169.97413589@nntp.fuse.net>
>Linda Minnich <lin.minnich@usa.net> wrote in comp.lang.perl.misc:
>>IS it possible to do a mod function like in C++ represented by the
>>percentage sign : % in PERL?
>
>Hmmm... your leap-year algorithm seems to be well on its way.
>
And what class might this be for? If you give us your professor's
email, we'll send him the answer and make sure you get full credit.
------------------------------
Date: Mon, 16 Aug 1999 22:28:41 -0400
From: brian@pm.org (brian d foy)
Subject: Re: Multi-Page Forms
Message-Id: <brian-ya02408000R1608992228410001@news.panix.com>
In article <7pa7u7$72j$1@usenet01.srv.cis.pitt.edu>, fmgst+@pitt.edu (Filip M. Gieszczykiewicz) posted:
> In Article <brian-ya02408000R1208990331210001@news.panix.com>, through puissant locution, brian@pm.org (brian d foy) soliloquized:
it wasn't a soliloqy.
> >In article <802qx@questionexchange.com>, QuestionExchange <USENET@questionexchange.com> posted:
> >> Check out these web sites:
> >> http://www.perl.org
> >
> >that site will be going away soon.
>
> WHY???
The Perl Institute doesn't exist anymore, the web site was
not being maintained, the web site is ugly, and i've got something
better to be unveiled in two days.
you can still get to the old TPI site at http://tpi.perl.org. certain
www.perl.org URLs are re-written to that site as well.
> And why does it ask for username/password now?
i'm limiting access to the new site until it's ready.
however, i have given anyone on the Perl Mongers announce and
general mailing lists access. sometime late tomorrow i'll
remove the access control so that you don't have to type in
the username and password to get a sneak peak. no sneak peak
until it's time. Randal would point out that in sneak peak,
there's an "a" in peak. but if you want a sneak peak, you need
to know the username and password to get a sneak peak.
> (and why isn't this mentioned on www.perl.com?)
it's not mentioned on www.perl.com because i'm focussing on the
White Camel Awards on that site. besides, it would ruin the
surprise. ;)
--
brian d foy
CGI Meta FAQ <URL:http://www.smithrenaud.com/public/CGI_MetaFAQ.html>
Perl Monger Hats! <URL:http://www.pm.org/clothing.shtml>
------------------------------
Date: Tue, 17 Aug 1999 03:05:23 GMT
From: lcook@carolina.rr.com
Subject: Newbie question: Creating a NT login script in Perl
Message-Id: <37b8ce95.1606034@news-server>
What is the easiest way to create an NT login script where if the user
belongs to a particular local group, the login script will map a drive
for them?
Thanks,
Lawrence Cook
------------------------------
Date: Tue, 17 Aug 1999 02:17:40 GMT
From: Peter L. Berghold <peter@berghold.net>
Subject: Re: ODBC & UNIX
Message-Id: <934856260.617780364@news.skunkworks.berghold.net>
On Mon, 16 Aug 1999, SH wrote:
><pyammine@my-deja.com> wrote in message news:7p94c3$340$1@nnrp1.deja.com...
>
>Just so ya know there is no such thing as ODBC on a Unix Platform. ODBC is
Not so fast there... Sun actually distributed an ODBC package for Slowlaris a
while back. Couldn't tell ya if it was any good or not, but it was on the
distribution.
--
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Peter L. Berghold Peter@Berghold.Net
"Linux renders ships http://www.berghold.net
NT renders ships useless...." ICQ# 11455958
------------------------------
Date: Mon, 16 Aug 1999 22:11:42 -0400
From: Heather Wiley <heather.wiley.fake@bentley.com>
Subject: Re: perl and ftp download
Message-Id: <37B8C4DE.3332A1C0@bentley.com>
Elaine -HFB- Ashton wrote:
> Heather Wiley wrote:
> > Before I reinvent the wheel I was wondering if any one has written/seen a automatic perl download for an ftp site. I DON'T want to mirror the site. I just want to download any file that has been posted since I last downloaded.
>
> You might try rdist or Net::Ftp with File::Find.
>
> e.
> thanks
> just what I wanted
> my book makes no mention of most of the powerful modules that Perl has
> The online docs for Active Perl do not have Net::Ftp listed either but I know it exists
>
> heather
------------------------------
Date: Tue, 17 Aug 1999 14:02:00 +1000
From: elephant@squirrelgroup.com (elephant)
Subject: Re: perl and ftp download
Message-Id: <MPG.122389c01c65bfc2989c37@news-server>
Heather Wiley writes ..
>> my book makes no mention of most of the powerful modules that Perl has
>> The online docs for Active Perl do not have Net::Ftp listed either but I kno
a) the '>'s at the beginning of a line are one way of showing people
what was said by whom .. it's completely counter-productive prefixing
your own lines with them because then it becomes unclear what you're
saying and what you're replying to
b) the ActiveState documentation only covers the modules that come with
the ActiveState distribution .. it would also be counter productive for
them to document modules that they do not include .. and Net::FTP (at
least in build 508) is not included as part of the standard installation
because the ActiveState documentation only covers what you have already
installed - it would be advisable to use www.cpan.org as your source of
module information - not your documentation
c) as I send this I see that your line wrapping has made some of your
lines longer than 80 characters .. I've truncated as necessary - you may
want to check your posting configuration options or get a new newsreader
--
jason - elephant@squirrelgroup.com -
------------------------------
Date: Tue, 17 Aug 1999 03:14:59 GMT
From: Rick Delaney <rick.delaney@home.com>
Subject: Re: perl on linux
Message-Id: <37B8D39A.6515BB34@home.com>
[posted & mailed]
Ala Qumsieh wrote:
>
> GoodfriB@jntf.osd.mil (James R. Goodfriend) writes:
>
> > % perl -pie 's/\r//g' script.pl
>
> That should really be:
>
> % perl -pi -e 'y/\r//' script.pl
>
> If there is something after the '-i', perl takes it as the extension
> of the backup copy it creates. So it doesn't see the '-e'.
Yup, but your subtle attempt to improve the code as well has just missed
the mark.
perl -pi -e 'y/\r//d' script.pl
^
^
--
Rick Delaney
rick.delaney@home.com
------------------------------
Date: Tue, 10 Aug 1999 18:36:14 -0400
From: "Dutch McElvy" <dutch@mindspring.com>
Subject: Perl SUID script
Message-Id: <7page3$afm$1@nntp9.atl.mindspring.net>
I am having trouble running a perl script set to suid. When I try to execute
the script as another user I get permission denied. If I try to run the
script with perl -w "script.pl" I get Too late for -T.
!/usr/bin/perl -wT
$ENV{PATH} = "/usr/sbin"';
delete
------------------------------
Date: Tue, 17 Aug 1999 02:40:53 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Perl SUID script
Message-Id: <VY3u3.212$Dq2.7373@nsw.nnrp.telstra.net>
In article <7page3$afm$1@nntp9.atl.mindspring.net>,
"Dutch McElvy" <dutch@mindspring.com> writes:
> 1I get Too late for -T.
# perldoc perldiag
[snip]
Too late for "-T" option
(X) The #! line (or local equivalent) in a Perl script
contains the -T option, but Perl was not invoked with -T
in its command line. This is an error because, by the
time Perl discovers a -T in a script, it's too late to
properly taint everything from the environment. So Perl
gives up.
[snip more explanation]
Martien
--
Martien Verbruggen |
Interactive Media Division |
Commercial Dynamics Pty. Ltd. | Can't say that it is, 'cause it ain't.
NSW, Australia |
------------------------------
Date: Tue, 17 Aug 1999 02:42:23 GMT
From: Rick Delaney <rick.delaney@home.com>
Subject: Re: Referencing Questions
Message-Id: <37B8CBF5.A2D17CC7@home.com>
[posted & mailed]
Matthew Forder wrote:
>
> In the main code of the perl program, I create a instance of my object,
> and open the socket. Now I need to use the FH to listen and send, I
> think I should be able to do this:
>
> print $instance->{'filehandle'} "socket message\n";
> $reply <$instance->{'filehandle'}>;
^^^
$reply = <$instance->{'filehandle'}>;
^^^
or
$reply = readline($instance->{'filehandle'});
or there's probably a readline method in IO that could be invoked as
$reply = $instance->{'filehandle'}->readline;
>
> but, perl doesn't like it. I have found (through trial and error) that I
> send using:
>
> print { $instance->{'filehandle'} } "socket message\n";
No need to use trial and error there, but good guess!
perldoc -f print
--
Rick Delaney
rick.delaney@home.com
------------------------------
Date: Tue, 17 Aug 1999 02:34:50 GMT
From: "Tim Bornholtz" <tbornhol@prioritytech.com>
Subject: Re: sending text fields with ENCTYPE="multipart/form-data" and PERL
Message-Id: <eT3u3.129$mH1.268@news.rdc1.ne.home.com>
Dico Reyers <dico@internetworks.ca> wrote in message
news:37b8b224.3789556@news.attcanada.net...
> I am trying to have people fill out a form that has both text
> fields, check boxes, radio buttons, etc and a file upload section.
> When I add ENCTYPE="multipart/form-data" to the FORM tag the script
> fails.
Make sure you are using the CGI.pm that is included with the standard
distribution of perl.
Look up the start_multipart_form(), filefield(), and end_multipart_form()
functions in the CGI.pm documentation.
hth,
Tim Bornholtz
tbornhol@prioritytech.com
------------------------------
Date: Tue, 17 Aug 1999 02:20:13 GMT
From: Peter L. Berghold <peter@berghold.net>
Subject: SQL from Perl (was Re: Japanese Girl Needs Help.)
Message-Id: <934856412.569829526@news.skunkworks.berghold.net>
On Sat, 14 Aug 1999, Eric Turner wrote:
>Is it really possible to access a SQL-server database from a Linux box
>via perl? Can you point me to some info/examples?
>
Check out the Pg module for Perl. This module allows access to Postgres from
perl. The included doco gives some simple examples.
--
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Peter L. Berghold Peter@Berghold.Net
"Linux renders ships http://www.berghold.net
NT renders ships useless...." ICQ# 11455958
------------------------------
Date: Mon, 16 Aug 1999 22:31:44 -0400
From: brian@pm.org (brian d foy)
Subject: Re: Strange trouble with a STRAY CURLY BRACE "}"
Message-Id: <brian-ya02408000R1608992231440001@news.panix.com>
In article <7pa9j3$75m$1@usenet01.srv.cis.pitt.edu>, fmgst+@pitt.edu (Filip M. Gieszczykiewicz) posted:
> Welcome to the hell of perl. Without vi I'd be a dead duck. I also
> date my code changes... that way I can zip to the last place I
> wrote in case I get that stupid error.
with a good editor (depends on your religion), consistent coding
style, and revision control, you won't be spending time in hell.
many of the thingx we blame on the language or the tools are really
our fault.
--
brian d foy
CGI Meta FAQ <URL:http://www.smithrenaud.com/public/CGI_MetaFAQ.html>
Perl Monger Hats! <URL:http://www.pm.org/clothing.shtml>
------------------------------
Date: Mon, 16 Aug 1999 22:37:26 -0400
From: brian@pm.org (brian d foy)
Subject: Re: unCRAP (was Re: Perl Services)
Message-Id: <brian-ya02408000R1608992237260001@news.panix.com>
In article <37B8AFD9.C22DB9B6@chaos.wustl.edu>, elaine@chaos.wustl.edu posted:
> Uri Guttman wrote:
> > E-A> ...hmm...sunday night maybe? The CRAP/unCRAP BOF :)
> ok, lunch is difficult as everyone is stuffing their face with
> food...nothing gets between me and my lunch :) How about monday? I'll
i remember the first time i talked to elaine in person - it was at a
Perl Mongers dinner at last year's Perl Conference. she had a beer in
each hand and was alternately drinking from each. there were clear
"don't get in my way" vibes ;)
i miss the conference discussion board thing that allowed us to set
up these sort of things beforehand.
--
brian d foy
CGI Meta FAQ <URL:http://www.smithrenaud.com/public/CGI_MetaFAQ.html>
Perl Monger Hats! <URL:http://www.pm.org/clothing.shtml>
------------------------------
Date: 16 Aug 1999 22:53:40 -0400
From: Uri Guttman <uri@sysarch.com>
Subject: Re: unCRAP (was Re: Perl Services)
Message-Id: <x7g11j15jf.fsf@home.sysarch.com>
>>>>> "bdf" == brian d foy <brian@pm.org> writes:
bdf> In article <37B8AFD9.C22DB9B6@chaos.wustl.edu>, elaine@chaos.wustl.edu posted:
>> Uri Guttman wrote:
>> > E-A> ...hmm...sunday night maybe? The CRAP/unCRAP BOF :)
>> ok, lunch is difficult as everyone is stuffing their face with
>> food...nothing gets between me and my lunch :) How about monday? I'll
bdf> i remember the first time i talked to elaine in person - it was at a
bdf> Perl Mongers dinner at last year's Perl Conference. she had a beer in
bdf> each hand and was alternately drinking from each. there were clear
bdf> "don't get in my way" vibes ;)
bdf> i miss the conference discussion board thing that allowed us to set
bdf> up these sort of things beforehand.
i was wondering about pace. i even got some mail from new groups being
formed only a few months ago. but o'reilly didn't promote it this
year. it was kinda clumsy anyway.
maybe they will have a proper set of bulletin boards to arrange bofs?
they had some last year and this year they will need many more as the
place will be mobbed. i am guessing 3-4k attendees (with all the joint
open source conferences).
uri
--
Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering
uri@sysarch.com --------------------------- Perl, Internet, UNIX Consulting
Have Perl, Will Travel ----------------------------- http://www.sysarch.com
The Best Search Engine on the Net ------------- http://www.northernlight.com
"F**king Windows 98", said the general in South Park before shooting Bill.
------------------------------
Date: 1 Jul 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 1 Jul 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.
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" from
almanac@ruby.oce.orst.edu. The real FAQ, as it appeared last in the
newsgroup, can be retrieved with the request "send perl-users FAQ" from
almanac@ruby.oce.orst.edu. 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" from
almanac@ruby.oce.orst.edu.
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 561
*************************************