|Perl: the Markov chain saw|
Re: HTTP PUT Request with separate values in csvby Veltro (Pilgrim)
|on May 16, 2018 at 16:52 UTC||Need Help??|
I just have to say it is very difficult to read your code. Maybe you can indent it properly. People would be much more inclined to try and help you. Also, are we supposed to know what is in 'example.xml'. Posting complete code listings is also not very useful. Try to simplify your question. Reading your code I am absolutely clueless in what you are actually try to do.
Nevertheless to help you on your way a little bit, try to focus on the actual problem. What is the problem? Is the problem in the part that examines the two csv files or is it in the server request. As a matter of fact that is where I would look first.
Create a small sample code for testing and once you have that part working, then start working on the rest of your code.
I suggest you use strict and warnings, it will help you identify problems in your code much sooner.
Write a test to check if the previous instruction worked. I don't know, are these of
Now try to find more ways to introspect $req and see if it contains everything you want. Try to do a request and see if it works:
edit: forgot to add the Twig parsefile instruction.