Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: XML::Twig (keep_encoding)

by mirod (Canon)
on May 07, 2012 at 15:41 UTC ( #969283=note: print w/replies, xml ) Need Help??


in reply to XML::Twig (keep_encoding)

If you post your complete code, we'll have a better chance to figure out what you are doing. What you posted doesn't output anything!

That said, if you're dealing with UTF-8 input, don't use keep_encoding, it's there mostly for dealing with other encodings.

Replies are listed 'Best First'.
Re^2: XML::Twig (keep_encoding)
by arivu198314 (Sexton) on May 08, 2012 at 05:38 UTC

    I know its very hard to find out the error without code, but i need some random answer just like this, means i have used both UTF-8 as well as keep_encoding, now i have removed it and it is working great.

    Thank you so much for this...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969283]
help
Chatterbox?
[choroba]: No, if there are no threads, then the user wants to use MCE. If there are threads, the user can choose.
[1nickt]: choroba Understood. I'm wondering about the logic in a cpanfile. If the perl doesn't support threads, it's easy: require MCE. If the perl does support threads, as you say the user has a choice, so require both? Or, assume that irrespective of the choide
[1nickt]: ... choice, the threaded-perl user *probably* wants to use threads, therefore only require threads and leave MCE out, allowing the user to manually install if desired?
[choroba]: just require any of MCE and threads. Not sure if that's possible in the cpanfile, but should be possible early in the Makefile
[1nickt]: The app expects threads as default anyway, right?
[choroba]: that's true
[1nickt]: expects threads *to be* the default
[1nickt]: I think cpanfile can handle the logic. testing now.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-10-18 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (244 votes). Check out past polls.

    Notices?