Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^9: Thanks to Ikegami, Chromatic & Corion

by Logicus (Initiate)
on Nov 02, 2011 at 14:03 UTC ( [id://935403]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Thanks to Ikegami, Chromatic & Corion
in thread Thanks to Ikegami, Chromatic & Corion

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^10: aXML doesn't compile
by ikegami (Patriarch) on Nov 03, 2011 at 00:37 UTC

    I was going to test <special> and &lab; and interactions between them, but aXML doesn't compile.

    $ perl -we'use aXML::Engine;' Can't locate Conf.pm in @INC (@INC contains: ...) at aXML/Engine.pm li +ne 4. BEGIN failed--compilation aborted at aXML/Engine.pm line 4. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.

    Don't you dare say it's something I need to provide.

      No no, Conf.pm is there in the /var/www (or where-ever you extracted it to)

      I run plackup from the command line whilst inside that folder thusly;

      /var/www$ plackup -s Starman -r action.psgi -R /etc/perl,/var/www

        I don't want to run perlnights, I want to process an aXML template, but what you gave me is broken.

Re^10: Thanks to Ikegami, Chromatic & Corion
by ikegami (Patriarch) on Nov 02, 2011 at 20:31 UTC

    They are pretty much for the plugins only

    Yes, escape could very well be for plugins only. I was quite clear about what problem I was trying to fix.

    and the only use I've found for them so far is outputting complex litteral strings which contain aXML/Perl...

    Or just plain XML. Without these fixes, I wouldn't be able to use aXML for two of the three XML formats I deal with, and it would be very fragile for those with which I could use aXML.

    Re^8: Thanks to Ikegami, Chromatic & Corion could be seen as a continuation of this post.

      So the big problem with aXML is the non-aXML compliant code you want to run through it?

      That's like trying to say that Perl is broken because it doesn't natively run COBOL.

      The (inc) command can load your file fine... then you just wrap it with a plugin of your design to get the output. In a similar way to how you would layer middleware components.

      How about you show me a fragment of the file, and tell me what output would be required from processing it, please make the task as extra-specially difficult as you possibly can, fiendishly difficult even, the harder the better. I'm pretty confident I can still show you an elegant solution.

        So the big problem with aXML is the non-aXML compliant code you want to run through it?

        Stop putting words in my mouth. I've said this at least three times already, the problem was that there was no way to create compliant code. (I think there still isn't, but aXML doesn't even compile, so I didn't verify.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-03-28 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found