A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.

Jump to

Quick reference

Showing posts with label walkthrough. Show all posts
Showing posts with label walkthrough. Show all posts

Try::Tiny debugger walkthrough

You are using the perl debugger. You enter Try::Tiny. Here is the solution:

Start on the final }; of the catch

s
n x 3,
s
n x 10,
s
n x 4

You will now be at:
if ( $wantarray ) {

You need to go 's' through one of the $try->()

You should now be inside the try {} block

How to defeat Sub::Quote and Sub::Defer

Do you use the Perl debugger?

Are you frustrated when you hit a maze of Sub::Quote twisty passages, all alike?

Then this guide is for you!

Walkthrough solution for Sub::Quote:

  • n (north)
  • n (north)
  • s (south)
  • # Boom! You should now be on the other side of the maze.
Walkthrough solution for Sub::Defer:
  • to do
(source: Text adventures of the eighties and nineties, and Perl coding adventures of the naughties)