Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^13: aXML doesn't compile

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


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

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

Replies are listed 'Best First'.
Re^14: aXML doesn't compile
by ikegami (Patriarch) on Nov 03, 2011 at 02:20 UTC
    $ 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?

        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.

        Are you saying that only way to pass a template to aXML is through a database???

      $ 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

        Wow, just wow

        There is no Conf.pm file, its missing

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (None)
    As of 2024-04-25 01:43 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found