Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: (crazyinsomniac: oh i'm excited) Re: new XML module

by epoptai (Curate)
on Jul 17, 2002 at 03:24 UTC ( #182313=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: (crazyinsomniac: oh i'm excited) Re: new XML module
in thread new XML module

grantm,

Yesterday I searched cpan for xml and noticed XML::Simpler thinking it was real. Today XML::Simpler? comes along. After reading through this thread a thought occurred to me. You've answered the complaints about this joke module with several apologies and seem to agree with most of the criticism. Since entirely deleting modules is impossible (?) why not update the module to a new version that really does what its name suggests?

As an XML newbie two problems that plagued me were 1. killing the parser with bad input, and 2. getting back a different character encoding than was input. Perhaps you could come up with some mechanism for helping newbies solve the common XML problems. Maybe it could be a "tutorial module" with training wheels like helpful die messages and suggestions for correcting the errors, explaining the subtle gotchas of XML parsing. After which they'd be ready to graduate to XML::Simple (which btw I've used in all my XML scripts thus far, listed in my sig).

Thanks for reading this far, and for XML::Simple!

--
Check out my Perlmonks Related Scripts like framechat, reputer, and xNN.


Comment on Re: Re: Re: (crazyinsomniac: oh i'm excited) Re: new XML module
Re*5: new XML module
by grantm (Parson) on Jul 17, 2002 at 13:49 UTC

    Since entirely deleting modules is impossible (?)

    No, it's not impossible - XML::Simpler is no longer on CPAN. If you install modules using CPAN.pm, then it will tell you there is no module by that name in any of the distributions on CPAN. Sure, if you search CPAN in other ways (such as the excellent search.cpan.org then you will find links to modules that no longer exist or have been renamed - but that problem is hardly limited to XML::Simpler.

    Perhaps you could come up with [...snip...] a "tutorial module" ...

    As it happens, I have 'come up with' the Perl XML FAQ. As time permits, I intend to expand the concept into a CPAN distribution XML::FAQ which includes lots of sample code.

    two problems that plagued me were 1. killing the parser with bad input...

    Covered here.

    ... and 2. getting back a different character encoding than was input

    Covered here.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://182313]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-12-25 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls