Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^12: aXML doesn't compile

by ikegami (Pope)
on Nov 03, 2011 at 00:53 UTC ( #935531=note: print w/ replies, xml ) Need Help??


in reply to Re^11: aXML doesn't compile
in thread Thanks to Ikegami, Chromatic & Corion

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


Comment on Re^12: aXML doesn't compile
Re^13: aXML doesn't compile
by Logicus on Nov 03, 2011 at 00:57 UTC

    I dunno, that code I sent you is what I've been building these last couple of months and I've been using plack & starman exclusively to run it during that time because it's so sweet fast.

      I'll grant you that the error message came up really fast.

        You not got it working yet?

        cpan install Task::Plack mysql import the perlnights.sql file extract aXML.tar.gz to /etc/perl extract Plack.tar.gz to /etc/perl extract www.tar.gz to /var/www cd /var/www plackup -s Starman -r action.psgi -R /etc/perl,/var/www open browser visit localhost:5000 you should now see the perlnights website on your screen.
Re^13: aXML doesn't compile
by Logicus on Nov 03, 2011 at 02:03 UTC

    What I've given you there is an exact copy of what is running just fine here, it should do the same on your computer as it does on mine as long as all the files are in the right places and everything from Task::Plack is installed. I can email you screen shots of it running if you like.

    Try entering your DSN information in the Conf.pm?

    Other than that I don't know why it's not working for you.

    Lets say you get plackup accepting requests on port 5000

    Make a folder in the actions folder, call it "test"

    Make a file in "test" and call it body.aXML

    edit that file as you wish

    visit localhost:5000/?action=test to see the output

      $ tar tzf aXML.tar.gz | grep 'Conf\.pm' || echo "missing" missing

      Why would I install Plack or a MySQL server???

      GOTO 935531

        Err... cause it's awesome and Miyagawa's a genius?

        as for MySQL, well that's just what I use, shouldn't be too hard to make it use a different DB tech as it uses the standard DBI interface, and as far as I know it supports several types.

        Or would you prefer working with files? The first aXML only worked with files as I didn't know about SQL when I wrote it. The current version doesn't have any file accessors yet really beyond the inclusion routines.

        I could whip some up and send you an updated engine package if you want?

        $ tar tzf aXML.tar.gz | grep 'Conf\.pm' || echo "missing"

        Try this instead :

        $ tar tzf www.tar.gz | grep 'Conf\.pm' || echo "missing"

        Output : www/Conf.pm

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2014-09-24 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (245 votes), past polls