[22282] in Perl-Users-Digest
Perl-Users Digest, Issue: 4503 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Feb 2 14:10:40 2003
Date: Sun, 2 Feb 2003 11:10:12 -0800 (PST)
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, 2 Feb 2003 Volume: 10 Number: 4503
Today's topics:
Re: Perl and ActiveDirectory Question <jdavis_5@zoomtown.com>
Re: Perl standalone programms and copyright <abigail@abigail.nl>
Re: Perl standalone programms and copyright Andrew Lee
Re: read web content (h\)
Re: read web content (Tad McClellan)
Re: Sort::Fields a, b, c, (d), [e], -f-, &**g <goldbb2@earthlink.net>
Re: What good is "\G" in a regular expression? (h\)
what's the best book for learning perl? (SJA)
Re: what's the best book for learning perl? (Tad McClellan)
Re: what's the best book for learning perl? <barryk2@SPAM-KILLER.mts.net>
Re: what's the best book for learning perl? <jurgenex@hotmail.com>
Re: what's the best book for learning perl? <abigail@abigail.nl>
Re: what's the best book for learning perl? Andrew Lee
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 2 Feb 2003 11:07:18 -0500
From: "zoomtown" <jdavis_5@zoomtown.com>
Subject: Re: Perl and ActiveDirectory Question
Message-Id: <3e3d41ae$0$14426$a0465688@nnrp.fuse.net>
You are right, I made a bad assumption that everyone had at least heard of
AD. I apologize for my assumptions..
Thanks for all who replied,,,,
"David K. Wall" <usenet@dwall.fastmail.fm> wrote in message
news:Xns9315F27F91E84dkwwashere@204.127.199.17...
> tadmc@augustmail.com (Tad McClellan) wrote:
>
> > zoomtown <jdavis_5@zoomtown.com> wrote:
> >
> >> Is it possible to query the Active Directory
> >> from Perl to find a specific user
> >
> > What is an "Active Directory" ?
>
> Instead of read, write, and execute, it has regular workouts and exercise.
>
>
> --
> David Wall - me@dwall.fastmail.fm
> "Oook."
------------------------------
Date: 02 Feb 2003 16:38:32 GMT
From: Abigail <abigail@abigail.nl>
Subject: Re: Perl standalone programms and copyright
Message-Id: <slrnb3qic8.ffe.abigail@alexandra.abigail.nl>
Ingo Wiarda (Ingo_Wiarda@web.de) wrote on MMMCDXLII September MCMXCIII in
<URL:news:b1itqr$135s3s$1@ID-40614.news.dfncis.de>:
`' Judging from the frequent questions about how to package perl scripts in
`' executable form, I may not be the only one who wants to distribute his
`' programms (for Windows-Users) as my_script.exe.
`'
`' My question:
`' If I create a package, say of
`' - my script.exe
`' - perl56.dll (using a free compiled version, not AS-Perl)
`' - a number of Modules found on CPAN (DBD:mysql, DBI, TK, ...).
`'
`' and distribute it, is there any danger of infringing upon the module
`' author's copyright?
Well, that depends on the license that's used by the module.
`' May I
`' a) freely distribute such a package?
`' b) sell the package?
`'
`' Or do I have to contact each and every module author whose scripts I use?
That depends on the license used by the module.
`' Perhaps the answer is obvious from the Perl Artistic License, but IANAL and
`' therefore am not sure...
It's the artistics license intend that you can do this. As for modules
with the GPL, you are likely to violate the license by doing this.
You are certainly violating the intend of the GPL. There are also modules
that prohibit them being used in a commercial project.
I'd certainly ask the module authors, and perhaps consult a lawyer.
Actually, that's not quite true. I would distribute the source as well.
Abigail
--
perl -e '$a = q 94a75737420616e6f74686572205065726c204861636b65720a9 and
${qq$\x5F$} = q 97265646f9 and s g..g;
qq e\x63\x68\x72\x20\x30\x78$&eggee;
{eval if $a =~ s e..eqq qprint chr 0x$& and \x71\x20\x71\x71qeexcess}'
------------------------------
Date: Sun, 02 Feb 2003 12:47:21 -0500
From: Andrew Lee
Subject: Re: Perl standalone programms and copyright
Message-Id: <ramq3v86dtlo6c2qvqvam45oi6751931ja@4ax.com>
On Sun, 02 Feb 2003 12:04:11 +0100, Ingo Wiarda <Ingo_Wiarda@web.de>
wrote:
>Judging from the frequent questions about how to package perl scripts in
>executable form, I may not be the only one who wants to distribute his
>programms (for Windows-Users) as my_script.exe.
>
>My question:
>If I create a package, say of
>- my script.exe
>- perl56.dll (using a free compiled version, not AS-Perl)
>- a number of Modules found on CPAN (DBD:mysql, DBI, TK, ...).
>
>and distribute it, is there any danger of infringing upon the module
>author's copyright?
>
Yes.
>May I
>a) freely distribute such a package?
>b) sell the package?
If you include the source ... read the GNU copyleft.
------------------------------
Date: Sun, 2 Feb 2003 12:32:44 +0100
From: "Michael Peuser \(h\)" <post@mpeuser.de>
Subject: Re: read web content
Message-Id: <b1ivit$g6r$02$1@news.t-online.com>
"Pons" <pons@gmx.li> schrieb im Newsbeitrag
news:b1itlq$13i7go$1@ID-172702.news.dfncis.de...
> I would like to write a script to read the content of
> Web page, and copy it to a file *.txt for later use
> such as filtering or putting it in a string?
> can any one help? if not ignore me !
>
Have look at package LWP for a start.
Kindly Mike
------------------------------
Date: Sun, 2 Feb 2003 08:04:56 -0600
From: tadmc@augustmail.com (Tad McClellan)
Subject: Re: read web content
Message-Id: <slrnb3q9c8.f8j.tadmc@magna.augustmail.com>
Pons <pons@gmx.li> wrote:
> I would like to write a script to read the content of
> Web page, and copy it to a file
perldoc -q HTML
"How do I fetch an HTML file?"
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sun, 02 Feb 2003 12:30:51 -0500
From: Benjamin Goldberg <goldbb2@earthlink.net>
Subject: Re: Sort::Fields a, b, c, (d), [e], -f-, &**g
Message-Id: <3E3D55CB.A286B9C8@earthlink.net>
Alan Gutierrez wrote:
[snip]
> sub cmp_last { &scrub_nth($a, 5) cmp &scrub_nth($b, 5) }
>
> print join("\n", sort cmp_last @db), "\n";
It might be better to use a Schwartzian Transform.
--
"So, who beat the clueless idiot today?"
"Well, we flipped for it, but when Kuno
landed, he wasn't in any shape to fight."
"Next time, try flipping a *coin.*"
------------------------------
Date: Sun, 2 Feb 2003 12:29:49 +0100
From: "Michael Peuser \(h\)" <post@mpeuser.de>
Subject: Re: What good is "\G" in a regular expression?
Message-Id: <b1ivde$bvg$01$1@news.t-online.com>
"PerlFAQ Server" <comdog@panix.com> schrieb im Newsbeitrag
news:b1hjjt$8dq$1@reader1.panix.com...
A very enlightening posting! \G and /c are widely unknown but
might help with a lot of parser-like problems.
Kindly Mike
------------------------------
Date: 2 Feb 2003 03:48:15 -0800
From: sagejustinadams@yahoo.com (SJA)
Subject: what's the best book for learning perl?
Message-Id: <eb41f4fa.0302020348.664356da@posting.google.com>
hi,
what's the best book for learning perl from the ground up?
------------------------------
Date: Sun, 2 Feb 2003 07:58:20 -0600
From: tadmc@augustmail.com (Tad McClellan)
Subject: Re: what's the best book for learning perl?
Message-Id: <slrnb3q8vs.f8j.tadmc@magna.augustmail.com>
SJA <sagejustinadams@yahoo.com> wrote:
> what's the best book for learning perl from the ground up?
That depends on if you already know programming or if you need
to learn programming plus learn Perl.
Know programming:
"Learning Perl" 3e, Randal Schwartz and Tom Phoenix
Don't know programming:
"Elements of Programming with Perl" Andrew Johnson
For more suggestions, see also:
perldoc -q books
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sun, 2 Feb 2003 08:41:28 -0600
From: Barry Kimelman <barryk2@SPAM-KILLER.mts.net>
Subject: Re: what's the best book for learning perl?
Message-Id: <MPG.18a6ea0fbd3965019896e5@news.mts.net>
In article <eb41f4fa.0302020348.664356da@posting.google.com>, SJA
(sagejustinadams@yahoo.com) says...
> hi,
>
> what's the best book for learning perl from the ground up?
>
That would depend in part (possibly ?) on how much of a programming
background you posess.
Anyway, there a couple of good books published by the O'Reily publishing
company.
"Programmaing Perl" (commonly known as "The Camel")
- this is more of a language reference manual, but a MUST for
serious Perl programmers
"Learning to Program in Perl" (known as "The Lama")
--
---------
Barry Kimelman
Winnipeg, Manitoba, Canada
email : bkimelman@hotmail.com
------------------------------
Date: Sun, 02 Feb 2003 16:26:31 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: what's the best book for learning perl?
Message-Id: <XEb%9.10693$x63.4960@nwrddc01.gnilink.net>
Tad McClellan wrote:
> SJA <sagejustinadams@yahoo.com> wrote:
>> what's the best book for learning perl from the ground up?
>
> That depends on if you already know programming or if you need
> to learn programming plus learn Perl.
Quite right!
> Know programming:
> "Learning Perl" 3e, Randal Schwartz and Tom Phoenix
>
> Don't know programming:
> "Elements of Programming with Perl" Andrew Johnson
Let me add:
Familiar with several programming languages and/or programming language
theory:
"Programming Perl"
Proficient with programming languages and programming languague theory:
"perldoc perldoc" ;-)
> For more suggestions, see also:
> perldoc -q books
jue
------------------------------
Date: 02 Feb 2003 16:31:17 GMT
From: Abigail <abigail@abigail.nl>
Subject: Re: what's the best book for learning perl?
Message-Id: <slrnb3qhul.ffe.abigail@alexandra.abigail.nl>
SJA (sagejustinadams@yahoo.com) wrote on MMMCDXLII September MCMXCIII in
<URL:news:eb41f4fa.0302020348.664356da@posting.google.com>:
:} hi,
:}
:} what's the best book for learning perl from the ground up?
I could be boring, and recommend a book from a publisher with an
Irish sounding name, but I won't do that.
If you want to limit yourself to one book, buy "Advanced Programming
in the UNIX environment". It doesn't have any Perl in it, but it
will make you understand a lot of the idiosyncrasies of Perl.
The syntactical details can be found in the manual coming with Perl.
If you want to buy a Perl book, whenever I give a Perl course, I
always toss the supplied student material aside, and use Andrew
Johnsons "Elements of Programming with Perl", although I've considered
using Clinton Pierce's book, "Teach yourself Perl in 24 hours" as well.
Abigail
--
perl -Mstrict -we '$_ = "goto C.print chop;\n=rekcaH lreP rehtona tsuJ";C1:eval'
------------------------------
Date: Sun, 02 Feb 2003 13:12:01 -0500
From: Andrew Lee
Subject: Re: what's the best book for learning perl?
Message-Id: <abnq3vojau0cnnudbj8c5hq1rbvqqc7dbr@4ax.com>
On 02 Feb 2003 16:31:17 GMT, Abigail <abigail@abigail.nl> wrote:
>SJA (sagejustinadams@yahoo.com) wrote on MMMCDXLII September MCMXCIII in
><URL:news:eb41f4fa.0302020348.664356da@posting.google.com>:
>:} hi,
>:}
>:} what's the best book for learning perl from the ground up?
>
>I could be boring, and recommend a book from a publisher with an
>Irish sounding name, but I won't do that.
>
>If you want to limit yourself to one book, buy "Advanced Programming
>in the UNIX environment". It doesn't have any Perl in it, but it
>will make you understand a lot of the idiosyncrasies of Perl.
Eeeek ... he'll also need a copy of K&R and a more gentle tutorial for C
to suplement K&R. I suspect your definition of "ground up" and the OP's
definition are rather different. :-)
>
>The syntactical details can be found in the manual coming with Perl.
>
Or just read the C source for perl itself. :-)
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
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.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 V10 Issue 4503
***************************************