Dear Lazyweb, I can't figure this out. I'd like to do something like this:
perl -MPIPs -de '$s = PIPs->new->model("PIPs")->schema; $DB::single = 1'
That would theoretically enter the debugger and I could just hit 'c' and continue to that breakpoint, have my variable set and start debugging my app. Instead, I have the following nasty alias:
alias debug_pips='echo "\$s = PIPs->new->model('PIPs')->schema";perl -MPIPs -de1'
And I just cut-n-paste the echoed line into the debugger. Is there a better way?