[26186] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 8375 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Aug 31 11:05:27 2005

Date: Wed, 31 Aug 2005 08:05:07 -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           Wed, 31 Aug 2005     Volume: 10 Number: 8375

Today's topics:
        ANNOUNCE Net::eBay perl module <ignoramus27122@NOSPAM.27122.invalid>
        ANNOUNCE Net::eBay perl module <ignoramus27122@NOSPAM.27122.invalid>
    Re: array question (newbie) <1usa@llenroc.ude.invalid>
        DOM from XML without C libs? <bugbear@trim_papermule.co.uk_trim>
    Re: how to add a space using a regex <tadmc@augustmail.com>
    Re: how to add a space using a regex <matthew.garrish@sympatico.ca>
    Re: how to add a space using a regex <bernard.el-haginDODGE_THIS@lido-tech.net>
    Re: looking for Perl coder help.. <dha@panix.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Wed, 31 Aug 2005 13:39:23 GMT
From: Ignoramus27122 <ignoramus27122@NOSPAM.27122.invalid>
Subject: ANNOUNCE Net::eBay perl module
Message-Id: <fqiRe.30344$Af1.8063@fe66.usenetserver.com>

I am announcing a new perl module that I wrote, called Net::eBay. This
module provides support for communicating with the eBay API via XML. 

It allows to list items for sale, search, revise, and do many other
things without wasting time 'scraping' HTML. Bidding is NOT supported
by eBay itself.

The module is available on CPAN. Just search for Net::eBay.

To use it, you need to obtain access keys from ebay. You have to
register at developer.ebay.com and obtain developer keys. Then you can
use their tokentool and obtain a "token". 

Save that to your ~/.ebay.ini (details at perldoc Net::eBay). Call
ebay-validate-test-user.pl to validate your token. Then, start writing
your perl scripts using this API.

When your scripts begin to work, you can obtain a set of production
keys also, by "self certification", which is a trivial process (no
kidding).

Thanks to many posters including John Bokma, who made useful
suggestions.

i



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

Date: Wed, 31 Aug 2005 14:15:20 GMT
From: Ignoramus27122 <ignoramus27122@NOSPAM.27122.invalid>
Subject: ANNOUNCE Net::eBay perl module
Message-Id: <YXiRe.141137$351.104386@fe53.usenetserver.com>

I am announcing a new perl module that I wrote, called Net::eBay. This
module provides support for communicating with the eBay API via XML. 

It allows to list items for sale, search, revise, and do many other
things without wasting time 'scraping' HTML. Bidding is NOT supported
by eBay itself.

The module is available on CPAN. Just search for Net::eBay.

To use it, you need to obtain access keys from ebay. You have to
register at developer.ebay.com and obtain developer keys. Then you can
use their tokentool and obtain a "token". 

Save that to your ~/.ebay.ini (details at perldoc Net::eBay). Call
ebay-validate-test-user.pl to validate your token. Then, start writing
your perl scripts using this API.

When your scripts begin to work, you can obtain a set of production
keys also, by "self certification", which is a trivial process (no
kidding).

Thanks to many posters including John Bokma, who made useful
suggestions.

i



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

Date: Wed, 31 Aug 2005 11:43:55 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: array question (newbie)
Message-Id: <Xns96C34EA73BB2Aasu1cornelledu@127.0.0.1>

John Bokma <john@castleamber.com> wrote in
news:Xns96C2F158BB4CFcastleamber@130.133.1.4: 

> "A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote:
> 
>> You don't have warnings enabled. Have you read the posting guidelines
>> for this group yet?
> 
> I was just wondering, if postings that don't follow the posting
> guidelines are just ignored, especially by the regulars *and* together
> with the FAQ xx.yy (or maybe instead of) a message is posted:
> 
> Subject: Why is your message not answered?
> 
> With a link to posting guidelines
> (and to the FAQ)?

Even if we ignore messages, I am sure someone will reply. If, say the OP 
in this thread, had to choose between reading a separate "Why is your 
message not answered?" thread as opposed to those replies, I have a 
feeling they'll choose the response, and ignore the pointers. 

Sinan

-- 
A. Sinan Unur <1usa@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html


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

Date: Wed, 31 Aug 2005 15:50:59 +0100
From: bugbear <bugbear@trim_papermule.co.uk_trim>
Subject: DOM from XML without C libs?
Message-Id: <4315c3d4$0$97116$ed2619ec@ptn-nntp-reader03.plus.net>

I have a requirment to handle XML in some perl scripts.
Sadly, I also have a requirment for the simplest
possible, and most portable, installation process.

So have been told (;-) that I must avoid 'C' libraries
where possible.

So Expat, Libxml2, and Xerces are all verboten.

I have found XML::SAX::PurePerl which looks
promising
http://search.cpan.org/~msergeant/XML-SAX-0.12/SAX/PurePerl.pm

It claims to be slow, but all my scripts are
one-shot, not performance critical anyway.

But I'd rather code in a DOM style than SAX.

I found this:
http://search.cpan.org/~enno/libxml-enno-1.02/lib/XML/Handler/BuildDOM.pm
which looks as if it could bridge the SAX-DOM gap
for me.

Question: can I install XML::Handler::BuildDOM without
installing XML::Parser?

And if not, does any have any other suggestions for me?

    BugBear


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

Date: Wed, 31 Aug 2005 06:42:42 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: how to add a space using a regex
Message-Id: <slrndhb5ti.i3.tadmc@magna.augustmail.com>

John Bokma <john@castleamber.com> wrote:
> "Bernard El-Hagin" <bernard.el-haginDODGE_THIS@lido-tech.net> wrote:
> 
>> I suggest that two letter first names are quite rare, 
> 
> Not 2 letter first names, but for example TadMcClellan


I get junk mail addressed to:   Mr. Clellan

That saves me from having to open the envelope.  :-)


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


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

Date: Wed, 31 Aug 2005 08:53:25 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: how to add a space using a regex
Message-Id: <3LhRe.7419$2F1.383980@news20.bellglobal.com>


"Bernard El-Hagin" <bernard.el-haginDODGE_THIS@lido-tech.net> wrote in 
message news:Xns96C372C42AA46elhber1lidotechnet@62.89.127.66...
> anno4000@lublin.zrz.tu-berlin.de (Anno Siegel) wrote:
>
>> Jerry Preston <g-preston1@ti.com> wrote in comp.lang.perl.misc:
>>> What I want to do is add a space between one's name when the are
>>> like the following:
>>>
>>> $name1 = "FirstLast:";
>>>
>>> I  want change $name1 = "First Last";
>>>
>>> and
>>>
>>> $name1 = "FirstMiddleLast:";
>>>
>>> I  want change $name1 = "First Middle Last";
>>>
>>> To be able to add spaces for either "FirstLast:" or
>>> "FirstMiddleLast:" with the same regex?
>>
>> A regex doesn't change a string, but a substitution (one part of
>> which is a regex) does.
>>
>> Can you insert spaces in either "FirstLast:" or "FirstMiddleLast:"
>> with the same substitution?  That would depend on how you intend
>> to recognize the parts of the nname.  You have said nothing about
>> that.
>>
>> Here is a substitution that inserts a space whereever a capital
>> letter immediately follows a lower-case one:
>>
>>     s/([[:lower:]])([[:upper:]])/$1 $2/g;
>>
>> but that would mis-handle names like "McBarren".
>
>
> I suggest that two letter first names are quite rare, which leads to
> an obvious adjustment of your regex. Still not perfect, but much
> closer.
>

Discounting Asian surnames, which are often two letters and precede the 
proper name...

And how about all the Eds and Als in the world?

Seems like a problem doomed to failure.

Matt 




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

Date: Wed, 31 Aug 2005 15:22:54 +0200
From: "Bernard El-Hagin" <bernard.el-haginDODGE_THIS@lido-tech.net>
Subject: Re: how to add a space using a regex
Message-Id: <Xns96C39C786F50Felhber1lidotechnet@62.89.127.66>

"Matt Garrish" <matthew.garrish@sympatico.ca> wrote:

[...]

>> I suggest that two letter first names are quite rare, which leads
>> to an obvious adjustment of your regex. Still not perfect, but
>> much closer.
>>
> 
> Discounting Asian surnames, which are often two letters and
> precede the proper name...


Yes, and what about "El-Hagin"? That's gotta be annoying.


> And how about all the Eds and Als in the world?


What about them?


> Seems like a problem doomed to failure.


I did say "Still not perfect", you know.


-- 
Cheers,
Bernard


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

Date: Wed, 31 Aug 2005 14:05:32 +0000 (UTC)
From: "David H. Adler" <dha@panix.com>
Subject: Re: looking for Perl coder help..
Message-Id: <slrndhbe9c.plc.dha@panix2.panix.com>

On 2005-08-29, xman <xman@nospam.tv> wrote:
>
> I have job description here:
> http://freelance.dbperl.com/cgi-bin/freelance/project.cgi?id=1125330070

You have posted a job posting or a resume in a technical group.

Longstanding Usenet tradition dictates that such postings go into
groups with names that contain "jobs", like "misc.jobs.offered", not
technical discussion groups like the ones to which you posted.

Had you read and understood the Usenet user manual posted frequently to
"news.announce.newusers", you might have already known this. :)  (If
n.a.n is quieter than it should be, the relevent FAQs are available at
http://www.faqs.org/faqs/by-newsgroup/news/news.announce.newusers.html)
Another good source of information on how Usenet functions is
news.newusers.questions (information from which is also available at
http://www.geocities.com/nnqweb/).

Please do not explain your posting by saying "but I saw other job
postings here".  Just because one person jumps off a bridge, doesn't
mean everyone does.  Those postings are also in error, and I've
probably already notified them as well.

If you have questions about this policy, take it up with the news
administrators in the newsgroup news.admin.misc.

http://jobs.perl.org may be of more use to you

Yours for a better usenet,

dha

-- 
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
Why *isn't* there a Widget::Gonzo module?


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

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.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

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


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