You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Igor Rojdestvenski <ig...@plantphys.umu.se> on 2005/05/08 13:21:25 UTC

XML parser/unparser in Perl

Hi, all,

I have made a dumb, simple and quite convenient XML parser/unparser in Perl, which may be quite handy for mod_perl developers. Feel free to download it (also free) from
http://www.patronov.net/programs/hashparser.pm. Self documented. Any modifications of the code are permitted without any limitations. Comments will be appreciated as well as if you make a reference to "Igor Rojdestvenski" when using it. 

Yours, Igor 

Re: XML parser/unparser in Perl

Posted by Slava Bizyayev <sb...@outlook.net>.
Dear Igor,

Thank you for the interest to the mod_perl users list. Your contribution
might be very welcome over here after some formal modifications:

1. You need to make your packaging and documentation CPAN compatible,
because this is the only way to distribute your code to community and to
make your code popular. Clear POD is _extremely_ important, it is
extracted from your code automatically when the code is packaged
properly. The following resource might be of your interest:

http://www.perl.com/pub/a/2005/04/14/cpan_guidelines.html

2. You are expected to submit to the list the initial rfc (reference for
comments) proposing your module with clear explanations why/when your
code is better then other existing alternatives available from CPAN. You
can expect then a fair discussion on the list and will be able to decide
finally what to do with the module.

Yes, it takes an extra-time, but it worth to do, believe me..

On Sun, 2005-05-08 at 06:21, Igor Rojdestvenski wrote:
> I have made a dumb, simple and quite convenient XML parser/unparser in
> Perl, which may be quite handy for mod_perl developers. Feel free to
> download it (also free) from
> http://www.patronov.net/programs/hashparser.pm.
> Self documented. Any modifications of the code are permitted without
> any limitations. Comments will be appreciated as well as if you make a
> reference to "Igor Rojdestvenski" when using it.

Kind regards,
-- 
Slava Bizyayev
--
Setting the pace for tomorrow's Internet today. Join us and find out
more about the future direction of this widely acknowledged server
software. == ApacheCon 2005 == Stuttgart, Germany 18-22 July 2005
http://apachecon.com/2005/EU/html/sessions.html
The same hardware, just 20 times faster. Friday, 22 July 2005, 10:00
--
slava@apache.org  +44(0)208-923-5913   http://www.dynagzip.com
slava@cpan.org    +44(0)794-766-4131 - mobile AIM: SlavaBizyayev


Re: old mod_perl (RC3) in FreeBSD 4.11

Posted by Foo Ji-Haw <jh...@nexlabs.com>.
Thanks for the reply Philip.

I'm really not a guru at FreeBSD. I think I can code in the 'old way' 
until everything is resolved. No pain on my side.


Philip M. Gollucci wrote:

> Foo Ji-Haw wrote:
>
>> As of today 1900 SGT, I did a ports cvsup on my FreeBSD to install a 
>> nice fresh setup of apache2+modperl2. Interestingly the ports 
>> collection shows RC3 still.
>>
>> I guess until the maintainer (lars.eggert@gmx.net 
>> <mailto:lars.eggert@gmx.net?cc=ports@FreeBSD.org&subject=FreeBSD%20Port:%20mod_perl2-2.0.0r3,1>) 
>> updates the port, we will have to make do with RC3? If so, will there 
>> be a conflict with libapreq2 2.04RC3?
>>
>> I was hoping to use Apache::DBI, but when I tried to install from the 
>> ports, it tries to install mp1. There aren't any p5-Apache2-DBI, so 
>> how are we able to install the Apache2::DBI (I'm assuming there is?)?
>>
> Its kind of iffy at the moment.  You are correct the ports are laggy 
> here specifically because of the mp2-RC5+ api change.
> The update was rolled back because all of the associated ports like 
> Apache::DBI for instance had not been updated yet making mp2RC5
> kind of pointless.
>
> You can always install from source.  It should be seemless.
>
> cd /usr/ports/lang/perl5.8
> make install distclean
>
> cd /usr/ports/www/apache2
> make ........
>
> dowload mp2
> and build
>
> Apache DBI you can download by searching the archives of this list. 
> I've posted one before.  I believe Ask is in the proccess
> of updating it per earlier e-mails.
>
>

Re: old mod_perl (RC3) in FreeBSD 4.11

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Foo Ji-Haw wrote:

> As of today 1900 SGT, I did a ports cvsup on my FreeBSD to install a 
> nice fresh setup of apache2+modperl2. Interestingly the ports 
> collection shows RC3 still.
>
> I guess until the maintainer (lars.eggert@gmx.net 
> <mailto:lars.eggert@gmx.net?cc=ports@FreeBSD.org&subject=FreeBSD%20Port:%20mod_perl2-2.0.0r3,1>) 
> updates the port, we will have to make do with RC3? If so, will there 
> be a conflict with libapreq2 2.04RC3?
>
> I was hoping to use Apache::DBI, but when I tried to install from the 
> ports, it tries to install mp1. There aren't any p5-Apache2-DBI, so 
> how are we able to install the Apache2::DBI (I'm assuming there is?)?
>
Its kind of iffy at the moment.  You are correct the ports are laggy 
here specifically because of the mp2-RC5+ api change.
The update was rolled back because all of the associated ports like 
Apache::DBI for instance had not been updated yet making mp2RC5
kind of pointless.

You can always install from source.  It should be seemless.

cd /usr/ports/lang/perl5.8
make install distclean

cd /usr/ports/www/apache2
make ........

dowload mp2
and build

Apache DBI you can download by searching the archives of this list. I've 
posted one before.  I believe Ask is in the proccess
of updating it per earlier e-mails.


-- 
END
-----------------------------------------------------------------------------
Philip M. Gollucci
Senior Developer - Liquidity Services Inc.
Phone:  202.558.6268 (Direct)
E-Mail: pgollucci@liquidation.com
Web:    http://www.liquidation.com


old mod_perl (RC3) in FreeBSD 4.11

Posted by Foo Ji-Haw <jh...@nexlabs.com>.
As of today 1900 SGT, I did a ports cvsup on my FreeBSD to install a 
nice fresh setup of apache2+modperl2. Interestingly the ports collection 
shows RC3 still.

I guess until the maintainer (lars.eggert@gmx.net 
<mailto:lars.eggert@gmx.net?cc=ports@FreeBSD.org&subject=FreeBSD%20Port:%20mod_perl2-2.0.0r3,1>) 
updates the port, we will have to make do with RC3? If so, will there be 
a conflict with libapreq2 2.04RC3?

I was hoping to use Apache::DBI, but when I tried to install from the 
ports, it tries to install mp1. There aren't any p5-Apache2-DBI, so how 
are we able to install the Apache2::DBI (I'm assuming there is?)?



Re: XML parser/unparser in Perl

Posted by "Randal L. Schwartz" <me...@stonehenge.com>.
>>>>> "Igor" == Igor Rojdestvenski <ig...@plantphys.umu.se> writes:

Igor> I have made a dumb, simple and quite convenient XML
Igor> parser/unparser in Perl, which may be quite handy for mod_perl
Igor> developers.

I'm not sure what this does that XML::Simple doesn't do.  If you're going
to reinvent the wheel, at least make it different.

And, the mod_perl list isn't the place for this.  Look at modules@perl.org,
please.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<me...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!