Hello, first post! Glad to be here! Please impart your Perl wisdom!
I am trying to write a script that automatically reserves racketball for me. I will use shell commands to have the program initiate at a certain time (when reservations are open), and Perl will run through the steps of making the reservation.
I can use mech to submit the forms to log in, etc, and otherwise navigate to the spot where reservations are made. The problem is the reservations are made through JavaScript (an onclick attribute which calls a JavaScript function which pushes the reservation).
So the big question is: What is the Best way to go about calling that JS function through Perl?
If the answer is the JavaScript plugin, I might need more Perl wisdom on how to solve this when running the install command on Windows 7, Strawberry Perl 5.16.2.2-64bit
Non-zero exit status: 13 Parse errors: Bad plan. You planned 17 tests but ran 6. Files=31, Tests=3256, 12 wallclock secs ( 0.55 usr + 0.08 sys = 0.62 + CPU)
Result: FAIL
But I don't want to get ahead of myself...
Thanks!
In reply to WebScripting, Need to Call JavaScript Function Through Perl, Not sure how! by rmurphy2718
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |