I solved the problem. I realized that the $mech->get() function might be waiting for the page to load. But as i set Firefox to download the file automatically, there was no page being loaded. Thus, i set the function to not wait for response from browser and it worked.
I thank you for helping me out. As this was my first post i made some error in reporting the problem and the code. Next time i will try to frame the question better.
In reply to Re^4: Downloads in firefox using perl WWW::Mechanize::Firefox
by pawaniitd
in thread Downloads in firefox using perl WWW::Mechanize::Firefox
by pawaniitd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |