[13882] in Perl-Users-Digest
Perl-Users Digest, Issue: 1292 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Nov 8 14:08:30 1999
Date: Mon, 8 Nov 1999 11:07:43 -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: <942088062-v9-i1292@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Mon, 8 Nov 1999 Volume: 9 Number: 1292
Today's topics:
Re: "Argument" I don't understand <qumsieh@sympatico.ca>
Re: "local %MyPackage::;" -- what does this do? <rootbeer@redcat.com>
Re: "Use Net::Sendmail" errors out on NT <gellyfish@gellyfish.com>
Re: <!--#exec cgi="/dir/any.cgi"-->(how to execute from <rootbeer@redcat.com>
Re: <STDIN> to a @ <mehkri@yahoo.com>
Re: <STDIN> to a @ <lr@hpl.hp.com>
@ISA <@mdo.net>
Re: @ISA (Simon Cozens)
Re: @ISA <gellyfish@gellyfish.com>
Re: @ISA <uri@sysarch.com>
[Perl] How to find the Perl FAQ <rootbeer&pfaq*finding*@redcat.com>
Re: [Perl] How to find the Perl FAQ <uri@sysarch.com>
Re: [Perl] How to find the Perl FAQ <rootbeer@redcat.com>
Re: A different turn ( WAS Re: Bye Tom? ) (Kragen Sitaker)
Re: A different turn ( WAS Re: Bye Tom? ) (David H. Adler)
ANNOUNCE: Glade-Perl 0.41 <dermot@glade.perl.connectfree.co.uk>
ANNOUNCE: rcsfreeze.pl v1.7 (Norbert Gruener)
ANNOUNCE: Tangram 1.00 + Website <jll@skynet.be>
ANNOUNCE: Text::BibTeX 0.31 (Greg Ward (spamdrop - see sig for preferred))
ANNOUNCEMENT: NEW VERSION: HTML::Template 1.0 <sam@tregar.com>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 07 Nov 1999 18:53:10 GMT
From: Ala Qumsieh <qumsieh@sympatico.ca>
Subject: Re: "Argument" I don't understand
Message-Id: <3825CB07.A0FF8401@sympatico.ca>
Joe Petolino wrote:
> Ala Qumsieh <aqumsieh@matrox.com> wrote:
> > split '' => $a;
>
> Perhaps you mean the magical ' ', i.e. a literal string consisting of a
> single space character?
DOH! I could swear I had a space in there!
> Just trying to clear up some potential confusion.
Thanks :)
--Ala
------------------------------
Date: Fri, 5 Nov 1999 09:08:52 -0800
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: "local %MyPackage::;" -- what does this do?
Message-Id: <Pine.GSO.4.10.9911050900460.29670-100000@user2.teleport.com>
On Thu, 4 Nov 1999, Ron Newman wrote:
> I tried to use the declaration
>
> local %MyPackage::;
>
> to localize all variables from a package. It doesn't seem to work.
Unless I'm mistaken about what you mean, I think you're seeing Perl bind
package variables at compile time. Watch:
#!/usr/bin/perl -wl
$fred::flintstone = "I'm still here";
local %fred::; # "local()"ize the fred:: symbol table
# This gets bound at compile time
print $fred::flintstone;
# But this won't be seen until runtime
eval 'print $fred::flintstone';
> Is this statement either legal or useful, and if so, what is it
> supposed to do?
Legal, yes. Useful, maybe. Is there a better way to do whatever you're
trying to do? Almost certainly.
This sounds like a task for a hash. A hash provides a "namespace" into
which you can store any values, including references. This is likely to be
easier to read, write, and maintain than any kind of mucking around in the
symbol tables.
Cheers!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 6 Nov 1999 14:44:14 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: "Use Net::Sendmail" errors out on NT
Message-Id: <801eru$arm$1@gellyfish.btinternet.com>
On Thu, 04 Nov 1999 20:58:02 GMT sspang8369@my-deja.com wrote:
> Please help!!
> I am a beginner struggling with Perl that comes with the NT resource
> kit.
I would seriously recommend that you ditch that version of Perl - it is
*very* old <5.001 I believe> and has no documentation, no modules, nothing,
go straight to <http://www.activestate.com> and download the latest port
for windows.
> I am trying to sendmail via my perl script. But the line "Use
> Net::Sendmail" errors out with the message
> "Can't locate Mail/Sendmail.pm" in $INC" ...
> BEGIN fails -- compilation aborted at mail.pl line 1."
>
> What's wrong??? Any tips would be appreciated.
>
You havent got that module on your system. Once you have upgraded to the
more recent version of Activeperl then you will be able to install
modules via PPM (the Perl Package Manager) - untill you do that there is
not much we can do to help you.
As far as mailing from Win32 systems goes you will find at the ActiveState
site some documentation that discusses this, you also might care to
look at the perlfaq9 document that comes with Perl.
/J\
--
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: Fri, 5 Nov 1999 08:57:27 -0800
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: <!--#exec cgi="/dir/any.cgi"-->(how to execute from browser created by cgi)
Message-Id: <Pine.GSO.4.10.9911050855180.29670-100000@user2.teleport.com>
On 5 Nov 1999, Gigabytr wrote:
> but the browser won't exec the cgi
Well, browsers don't normally run CGI programs. But if your browser (or
some other non-Perl program) isn't doing what you want, you should
probably search for the docs, FAQs, and newsgroups about that program. If
you've got a Perl problem that's not answered in the Perl docs and FAQs,
then you'll have a question that's on-topic here.
Cheers!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Fri, 5 Nov 1999 06:30:27 -0800 (PST)
From: Mohammad Akram Ali Mehkri <mehkri@yahoo.com>
To: "comp.lang.perl.misc@list.deja.com" <comp.lang.perl.misc@list.deja.com>
Subject: Re: <STDIN> to a @
Message-Id: <19991105143027.18354.rocketmail@web220.mail.yahoo.com>
This is what i suggest
this is how i do atleast
##############Snippet begin
print " Enter A String : ";
chomp($_=<STDIN>);
for($x=0;$x<length($_);$x=$x+1){ @Var[$x] = substr($_,$x,1); }
##############Snippet end
hope somebody gives u a better one
or may be u could put it as a function and call theat function to return the
array that u want like @name = convtoarray($_:);
--- morpheus <r00tz@ciudad.com.ar> wrote:
> Message from the Deja.com forum:
> comp.lang.perl.misc
> Your subscription is set to individual email delivery
> >
> I need to get 8 letters from the user and put each one of them in a
> different part of an array (
> @array[0] = m;
> @array[1] = d;
> ...
> Anybody could help me?
>
>
>
>
>
>
> _____________________________________________________________
> Deja.com: Before you buy.
> http://www.deja.com/
> * To modify or remove your subscription, go to
> http://www.deja.com/edit_sub.xp?group=comp.lang.perl.misc
> * Read this thread at
> http://www.deja.com/thread/%3C7vdq7e%24mkt%241%40ul3.satlink.com%3E
>
>
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Fri, 5 Nov 1999 09:29:16 -0800
From: Larry Rosler <lr@hpl.hp.com>
Subject: Re: <STDIN> to a @
Message-Id: <MPG.128cb3c557c750be98a1b6@nntp.hpl.hp.com>
In article <19991105143027.18354.rocketmail@web220.mail.yahoo.com> on
Fri, 5 Nov 1999 06:30:27 -0800 (PST), Mohammad Akram Ali Mehkri
<mehkri@yahoo.com> says...
> This is what i suggest
> this is how i do atleast
> ##############Snippet begin
> print " Enter A String : ";
> chomp($_=<STDIN>);
> for($x=0;$x<length($_);$x=$x+1){ @Var[$x] = substr($_,$x,1); }
Before posting, you should put your snippet into a little test program,
and run it with the '-w' flag set and with 'use strict;'. Had you done
that, you would have been warned of the incorrect use of an array slice,
where you should be using a scalar.
> ##############Snippet end
> hope somebody gives u a better one
> or may be u could put it as a function and call theat function to return the
> array that u want like @name = convtoarray($_:);
This thread is a week old, and several others have posted an approach
that is much cleaner and probably a decade faster -- using split //.
> --- morpheus <r00tz@ciudad.com.ar> wrote:
If you quote parts of an article that you are responding to, please put
the quotes ahead of your comments. Allowing your unidentified so-called
newsreader to plunk the entire thing after your response is lazy on your
part, and will predispose others not to give your posts the attention
they may deserve.
--
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Mon, 8 Nov 1999 11:46:55 -0500
From: "CS" <@mdo.net>
Subject: @ISA
Message-Id: <65DV3.57665$23.2164074@typ11.nn.bcandid.com>
After looking through perlobj, perlmod, perlmodlib, and doing a search in
the Perl CD Bookshelf, I failed to find discussion regarding @ISA (in
otherwords, what is it, and what exactly does it do). Could someone please
tell me where this is discussed.
Thanx in advance, Chris
------------------------------
Date: 8 Nov 1999 17:06:12 GMT
From: simon@othersideofthe.earth.li (Simon Cozens)
Subject: Re: @ISA
Message-Id: <slrn82e0o3.2kr.simon@othersideofthe.earth.li>
CS (comp.lang.perl.misc):
>After looking through perlobj, perlmod, perlmodlib, and doing a search in
>the Perl CD Bookshelf, I failed to find discussion regarding @ISA (in
>otherwords, what is it, and what exactly does it do). Could someone please
>tell me where this is discussed.
It's to do with object-oriented programming. (It says, this package IS-A
<inherited class>)
Look in perlobj
--
UNIX was half a billion (500000000) seconds old on
Tue Nov 5 00:53:20 1985 GMT (measuring since the time(2) epoch).
-- Andy Tannenbaum
------------------------------
Date: 8 Nov 1999 17:18:32 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: @ISA
Message-Id: <382705e8_2@newsread3.dircon.co.uk>
CS <@mdo.net> wrote:
> After looking through perlobj, perlmod, perlmodlib, and doing a search in
> the Perl CD Bookshelf, I failed to find discussion regarding @ISA (in
> otherwords, what is it, and what exactly does it do). Could someone please
> tell me where this is discussed.
>
look in perltoot - this goes into more detail about the OO thing ...
/J\
--
"The chef's salty balls have dropped" - Christopher Price, BBC NEWS 24
------------------------------
Date: 08 Nov 1999 13:02:50 -0500
From: Uri Guttman <uri@sysarch.com>
Subject: Re: @ISA
Message-Id: <x7g0yg275h.fsf@home.sysarch.com>
>>>>> "JS" == Jonathan Stowe <gellyfish@gellyfish.com> writes:
JS> CS <@mdo.net> wrote:
>> After looking through perlobj, perlmod, perlmodlib, and doing a
>> search in the Perl CD Bookshelf, I failed to find discussion
>> regarding @ISA (in otherwords, what is it, and what exactly does it
>> do). Could someone please tell me where this is discussed.
>>
JS> look in perltoot - this goes into more detail about the OO thing ...
and then get and read object oriented perl. all you ever want to know
about that subject. it has my highest rating on my perl books page.
uri
--
Uri Guttman --------- uri@sysarch.com ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com
------------------------------
Date: Sat, 06 Nov 1999 11:24:01 GMT
From: Tom Phoenix <rootbeer&pfaq*finding*@redcat.com>
Subject: [Perl] How to find the Perl FAQ
Message-Id: <pfaqmessage941887441.73@news.teleport.com>
Archive-name: perl-faq/finding-perl-faq
Posting-Frequency: weekly
Last-modified: 18 Aug 1999
[ 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.
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
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.
Another possibility is to use one of the FTP-via-email services; for
more information on doing that, send mail to <mail-server@rtfm.mit.edu>
(not to me!) with these lines in the body of the message, flush left:
setdir usenet-by-group/news.announce.newusers
send Anonymous_FTP:_Frequently_Asked_Questions_(FAQ)_List
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
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: 05 Nov 1999 12:15:21 -0500
From: Uri Guttman <uri@sysarch.com>
Subject: Re: [Perl] How to find the Perl FAQ
Message-Id: <x7d7to6es6.fsf@home.sysarch.com>
<snip of complete quote of autoposted how to find FAQ>
and your point was?
uri
--
Uri Guttman --------- uri@sysarch.com ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com
------------------------------
Date: Fri, 5 Nov 1999 12:44:55 -0800
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: [Perl] How to find the Perl FAQ
Message-Id: <Pine.GSO.4.10.9911051243270.29670-100000@user2.teleport.com>
On 5 Nov 1999, Uri Guttman wrote:
> <snip of complete quote of autoposted how to find FAQ>
>
> and your point was?
Oh, come on, Uri! Surely you could read well enough to see where she said
"I have no idea how to cancel posting a message once I accidentally chose
my newsreader's 'reply' feature. Please killfile me." :-)
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Mon, 08 Nov 1999 00:21:25 GMT
From: kragen@dnaco.net (Kragen Sitaker)
Subject: Re: A different turn ( WAS Re: Bye Tom? )
Message-Id: <9IoV3.54879$23.2054646@typ11.nn.bcandid.com>
In article <m3ln9mo587.fsf@hank.yorku.ca>,
Steven Smolinski <sjs@yorku.ca> wrote:
>Elaine -HFB- Ashton <elaine@chaos.wustl.edu> wrote:
>[...a really fabulous post...]
>> I can't make love to my powerbook, sexy though it may be [...]
>
>You'd be surprised at the peripherals they're making nowadays.
>
>As long as you've got a PCMCIA slot free and a nice bottle of wine...
http://www.fufme.com/ (via tbtf-irregulars from Jamie McCarthy)
--
<kragen@pobox.com> Kragen Sitaker <http://www.pobox.com/~kragen/>
Tue Nov 02 1999
6 days until the Internet stock bubble bursts on Monday, 1999-11-08.
<URL:http://www.pobox.com/~kragen/bubble.html>
------------------------------
Date: 8 Nov 1999 05:26:53 GMT
From: dha@panix7.panix.com (David H. Adler)
Subject: Re: A different turn ( WAS Re: Bye Tom? )
Message-Id: <slrn82cnos.r2o.dha@panix7.panix.com>
In article <9IoV3.54879$23.2054646@typ11.nn.bcandid.com>, Kragen Sitaker wrote:
>In article <m3ln9mo587.fsf@hank.yorku.ca>,
>Steven Smolinski <sjs@yorku.ca> wrote:
>>Elaine -HFB- Ashton <elaine@chaos.wustl.edu> wrote:
>>[...a really fabulous post...]
>>> I can't make love to my powerbook, sexy though it may be [...]
>>
>>You'd be surprised at the peripherals they're making nowadays.
>>
>>As long as you've got a PCMCIA slot free and a nice bottle of wine...
>
>http://www.fufme.com/ (via tbtf-irregulars from Jamie McCarthy)
I note that the FAQ says that Mac and Linux compatable versions are
still being developed, so that's probably not helpful to the powerbook
owner... :-)
--
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
Don't be afraid, we're only elves.
- stimps, http://mindlink.net/stimpy/
------------------------------
Date: 5 Nov 1999 15:36:27 GMT
From: Dermot Musgrove <dermot@glade.perl.connectfree.co.uk>
Subject: ANNOUNCE: Glade-Perl 0.41
Message-Id: <7vuthr$43r$1@play.inetarena.com>
Hi all,
I have uploaded perl module Glade-Perl-0.41.tar.gz to CPAN and my websites.
ftp://ftp.cpan.org/pub/perl/CPAN/modules/by-module/Glade/
http://www.glade.perl.connectfree.co.uk/index.html
http://freespace.virgin.net/dermot.musgrove/computers/perl/index.html
Glade-Perl generates perl source code from a Glade file - Glade is Damon
Chaplin's beautiful Gtk+/Gnome UI builder. It can display the UI as it is
built or simply generate source code and it can be called directly from
Glade's 'Build' button.
This version now generates _all_ widgets (Gtk+ and Gnome) that Glade knows
about!
If you use the module and you can find the time, I would really appreciate
_any_ feedback. Does it do what you want? How can I improve the docs?
Regards, Dermot
snipped from the Changelog:
------------------------------------------------------------
Tue Nov 2 02:20:00 GMT 1999 - Dermot Musgrove <dermot.musgrove@virgin.net>
- Version 0.41
- PerlRun->create_pixmap() updated to use new Perl/Gtk bindings if available
- PerlSource->write_UI() stripped from PerlGenerate->Form_from_Glade_Proto()
- PerlSource->write_Subclass() will generate a working subclass with
skeleton subs for all missing signal handlers
- PerlSource->write_dist() started new sub to generate dist files
- PerlProject->use_Glade_Project() now defaults to allow_gnome if
programmer has set <project><gnome_support> to True
- PerlSource->perl_SUBCLASS_AUTOLOAD_header() new sub and some extra
utilities generated (toplevel_hide, toplevel_close and toplevel_destroy)
- Gnome::Druid* stuff implemented (needs Gtk-Perl CVS after 19991025 and
gnome-libs >= 1.0.50 to get the full effect
- PerlRun->create_image() new sub to return a Gtk::Gdk::ImlibImage for
Gnome::Druid* logo/watermarks
------------------------------------------------------------
------------------------------
Date: 5 Nov 1999 15:36:59 GMT
From: nog@Mpa-Garching.MPG.DE (Norbert Gruener)
Subject: ANNOUNCE: rcsfreeze.pl v1.7
Message-Id: <7vutir$43t$1@play.inetarena.com>
Hello,
I would like to announce the release of the perl script `rcsfreeze.pl'
You can find it at
http://www.cpan.org/modules/by-authors/id/N/NO/NOG/rcsfreeze-1.7.tar.gz
http://www.MPA-Garching.MPG.DE/~nog/perl/rcsfreeze-1.7.tar.gz
>From the README:
----------------
rcsfreeze.pl is a perl script to freeze a configuration of
sources checked in under RCS.
This perl script is a complete rewrite of the rcsfreeze.sh shell
script contained in the RCS package with its RCS ID:
"rcsfreeze.sh,v 4.6 1993/11/03 17:42:27 eggert Exp"
The major differences between the shell script and the perl
script are the following:
the input argument "symb revision number"
- is optional for the shell script. Internally an unique
revision number is used.
- is mandatory for the perl script. Only this symbolic
revision number is used.
the log message
- is saved by the shell script in its own file
rcsfreeze.log. But there are no tools available to
retrieve the log messages for a given revision number.
- is saved by the perl script amongst the other RCS log
messages. Therefore they can be retrieved with the
appropriate rlog command.
For more information on how to use the script, see the pod
documentation or view the man pages.
For instructions on how to install the script, see the file
INSTALL.
Problems, questions, etc. may be sent to nog@MPA-Garching.MPG.DE
For Copyright see the pod documentation.
Have fun :-)
Norbert
--
+-------------------------------------------------------------------+
| Norbert E. Gruener E-mail: nog@MPA-Garching.MPG.DE |
| MPI fuer Astrophysik PGP encrypted mail preferred |
| WWW: http://www.MPA-Garching.MPG.DE/~nog/ |
| PGPprint(RSA): 66 64 C0 D0 6F 1A 16 02 C2 C6 37 83 3A 5F 88 9B |
| PGPprint(DH): EBBF 02ED 1B91 39C3 5FB9 4D2F 9478 E224 334C 34CD |
| PGPprint(DSS): A3F0 BDFA EAC0 128D A6C5 B11D 6EEC 0A88 47CD A77D |
+-------------------------------------------------------------------+
------------------------------
Date: 06 Nov 1999 22:20:43 +0100
From: Jean-Louis Leroy <jll@skynet.be>
Subject: ANNOUNCE: Tangram 1.00 + Website
Message-Id: <m3bt9771w4.fsf@enterprise.newedgeconcept>
I have just uploaded version 1.00 of Tangram to CPAN. You can obtain
it from your favorite CPAN mirror (it should get there soon) or
directly from the Tangram website (see below).
Description
-----------
Tangram is an object-relational mapper. It makes objects persist in
relational databases, and provides powerful facilities for retrieving
and filtering them. Tangram fully supports object-oriented
programming, including polymorphism, multiple inheritance and
collections. It does so in an orthogonal fashion, that is, it doesn't
require your classes to implement support functions nor inherit from a
utility class.
Changes in this version
-----------------------
deploy() now also works directly on DBI handles
deploy() allows specification of SQL types via the schema hash
intrusive collections allow element-to-container navigation
improved speed of read_object
fixed various bugs
rewrote part of, and expanded documentation
Website
-------
Tangram has a website now! Nothing fancy, but you may browse the 3,000
lines of docs there (an excellent way of getting a feel of Tangram if
you're a potential new user). I have also set up a mailing list. Like
everything else on the www, it's still under construction, but it's a
beginning. Here's the URL:
http://www.tangram-persistence.org
--
V
VLR Jean-Louis Leroy
F http://users.skynet.be/jll
------------------------------
Date: 5 Nov 1999 15:36:09 GMT
From: gward@altavista.net (Greg Ward (spamdrop - see sig for preferred))
Subject: ANNOUNCE: Text::BibTeX 0.31
Message-Id: <7vuth9$43q$1@play.inetarena.com>
Text::BibTeX version 0.31
(a Perl library for
processing BibTeX data files)
28 October, 1999
Greg Ward (gward@python.net)
http://starship.python.net/~gward/btOOL/
Text::BibTeX is a Perl library for parsing and processing BibTeX data
files; it is built on top of btparse, a C library that does most of the
real work. (Together, they comprise btOOL, my umbrella name for a
system which will hopefully someday form a drop-in replacement for the
current bibtex program.)
Text::BibTeX gives you access to the data at many different levels: you
may work with BibTeX entries as simple "field -> string" mappings, or
get at the original form of the data as a list of simple values
(strings, macros, or numbers) pasted together. You can leave the
allowed/expected entry types and fields unrestricted, or you can impose
the structure defined by BibTeX 0.99's standard style files, or you can
invent your own structure to constrain the data.
You must download both libraries in order to build Text::BibTeX; see the
Text::BibTeX README for details. You can download them from the btOOL
web site:
http://starship.python.net/~gward/btOOL/
or directly from my "software braindump" archive:
http://www.aseonline.net/~gward/
Both are (or soon will be) available from CPAN and CTAN, respectively
the Comprehensive Perl and TeX Archive Networks. Sample URLs:
ftp://cpan.perl.org/pub/CPAN/authors/Greg_Ward/
or
ftp://ftp.ctan.org/tex-archive/biblio/bibtex/utils/btOOL/
But of course you should always access CPAN and CTAN via mirror sites.
Both Text::BibTeX and btparse are copiously documented in POD format,
which is easily translatable to a wide range of other formats; btparse
comes with the documentation in *roff form for instant Unix man pages.
(Man pages are built automatically from the POD embedded in
Text::BibTeX's Perl modules.) Hopefully, the documentation will soon be
online in HTML form at the btOOL web site.
Additionally, a printable technical report (in PostScript or DVI format)
describing the project, which includes the full documentation for both
libraries, may be downloaded from the btOOL web site.
--
Greg Ward - Linux geek gward@ase.com
http://starship.python.net/~gward/
I repeat myself when under stress I repeat myself when under stress I repeat---
------------------------------
Date: 5 Nov 1999 15:36:02 GMT
From: Sam Tregar <sam@tregar.com>
Subject: ANNOUNCEMENT: NEW VERSION: HTML::Template 1.0
Message-Id: <7vuth2$43p$1@play.inetarena.com>
ANNOUNCEMENT: NEW VERSION: HTML::Template 1.0
NAME
HTML::Template - a Perl module to use HTML Templates
CHANGES
1.0
- An HTML::Template mailing-list! Send a blank message to
htmltmpl-subscribe@lists.vm.com to join.
- bug fixes
- improved docs
DESCRIPTION
This module attempts make using HTML templates simple and natural. It
extends standard HTML with a few new HTML-esque tags - <TMPL_VAR>,
<TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF> and <TMPL_ELSE>. The file
written with HTML and these new tags is called a template. It is
usually saved separate from your script - possibly even created by
someone else! Using this module you fill in the values for the
variables, loops and branches declared in the template. This allows
you to seperate design - the HTML - from the data, which you generate
in the Perl script.
This module is licenced under the GPL. See the LICENCE section of the
README.
AVAILABILITY
The module is available on CPAN. You can get it using CPAN.pm or go
to:
http://www.cpan.org/authors/id/S/SA/SAMTREGAR/
MOTIVATION
It is true that there are a number of packages out there to do HTML
templates. On the one hand you have things like HTML::Embperl which
allows you to freely mix Perl with HTML. On the other hand lie
home-grown variable substitution solutions. Hopefully the module can
find a place between the two.
One advantage of this module over a full HTML::Embperl-esque solution
is that it enforces an important divide - design and programming. By
limiting the programmer to just using simple variables and loops in
the HTML, the template remains accessible to designers and other
non-perl people. The use of HTML-esque syntax goes further to make
the format understandable to others. In the future this similarity
could be used to extend existing HTML editors/analyzers to support
this syntax.
An advantage of this module over home-grown tag-replacement schemes is
the support for loops. In my work I am often called on to produce
tables of data in html. Producing them using simplistic HTML
templates results in CGIs containing lots of HTML since the HTML
itself could not represent loops. The introduction of loop statements
in the HTML simplifies this situation considerably. The designer can
layout a single row and the programmer can fill it in as many times as
necessary - all they must agree on is the parameter names.
For all that, I think the best thing about this module is that it does
just one thing and it does it quickly and carefully. It doesn't try
to replace Perl and HTML, it just augments them to interact a little
better. And it's pretty fast.
DOCUMENTATION
The documentation is in Template.pm in the form of POD format
perldocs. Even the above text might be out of date, so be sure to
check the perldocs for the straight truth.
CONTACT INFO
This module was written by Sam Tregar (sam@tregar.com) for Vanguard
Media (http://www.vm.com). You can join the HTML::Template
mailing-list by sending a blank message to
htmltmpl-subscribe@lists.vm.com.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
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 1292
**************************************