Scatole Nere
Upcoming SlideShare
Loading in...5
×
 

Scatole Nere

on

  • 1,573 views

Lightning talk showing a couple of Perl debugging techniques

Lightning talk showing a couple of Perl debugging techniques

Statistics

Views

Total Views
1,573
Views on SlideShare
1,569
Embed Views
4

Actions

Likes
1
Downloads
10
Comments
0

1 Embed 4

http://www.stefanorodighiero.net 4

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Scatole Nere Scatole Nere Presentation Transcript

  • Scatole nere
  • ARR!!! ☠ View slide
  • sub foo View slide
  • use Foo; sub foo ... foo();
  • { no strict; no warnings; *{ quot;Foo::fooquot; } = sub { print quot;arrrr!nquot;; } }
  • $foo_instance->foo();
  • sub foo { my $this = shift; ... }
  • foo( $foo_instance );
  • Hook::LexWrap
  • use Foo; use Hook::LexWrap; wrap Foo::foo, pre => sub { print quot;Ora chiamo foo...nquot; } , post => sub { print quot;Ho appena chiamato foo().nquot; };
  • { wrap Foo::foo, pre => sub { print quot;Ora chiamo foo...nquot; } , post => sub { print quot;Ho appena chiamato foo().nquot; }; }