in reply to drag and drop file upload

If that is your hook.cgi code, it doesn't do anything ; it compiles sub hook and exits the program without calling it (actually as posted it won't even compile)

or if you're trying to use jQuery::File::Upload, then you're not copy/pasting well enough, so click jQuery::File::Upload and read and copy/paste better :)

See also Mojolicious::Lite +and jQuery +AJAX + Mojo::Template

And a copy-pasta for you:)

Also, there are checklists for that , Basic debugging checklist , brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts

Yes, work through these checklists, when you find a problem on the list, use a solution from the list, when you find a problem not on the list (rare), post the error message and problem description here

brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts

So examine your server configuration and compare to https://httpd.apache.org/docs/2.2/howto/public_html.html#cgi / Apache Tutorial: Dynamic Content with CGI

learn about the internet,Web Programming: For Beginners, to get an overall picture of how the internet works, how tcp/ip, sockets, html, ajax, all fit together.

Replies are listed 'Best First'.
Re^2: drag and drop file upload
by raks_diamond (Initiate) on Sep 20, 2013 at 14:34 UTC
    Can you please explain how to use jQuery::File::Upload as i just have started in perl.I have already looked in to the jQuery::File::Upload but not able to use it properly.i have install it then used basic implementation(1'st example given on the web page of perl module) but still not get success. It would be helpful if you can help. Thanks, Rakesh

      Can you please explain how to use jQuery::File::Upload ?

      Sorry, no, statements like still not get success make me think I can't help you

      If its not doing what you want, explain how, explain how you're running what you're running, what is happening that is wrong, post any relevant errors/warnings/log message... troubleshooting, only you can troubleshoot your own mystery, and I already posted several links to get you up to speed

      More generic advice :) On debugging, verify everything, talk to teddybear ... checklists and more