Enter the debugger by:
perl -d scheduledscrape.pl --path="game of thrones" --size=anysize
The script and arguments are invoked just as normal, but preceded by perl -d.
To keep continuing, one line at a time: n
Continue until return from the block: r
When a subroutine is shown, to go into it: Step into: s
When a subroutine is shown, to pass over it: n
When a subroutine is entered, to continue until return value: r
To get the value of a variable (or expression): p expr
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.