scatole nere
DESCRIPTION
Lightning talk showing a couple of Perl debugging techniquesTRANSCRIPT
![Page 1: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/1.jpg)
Scatolenere
![Page 2: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/2.jpg)
![Page 3: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/3.jpg)
![Page 4: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/4.jpg)
![Page 5: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/5.jpg)
☹
![Page 6: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/6.jpg)
☠ARR!!!
![Page 7: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/7.jpg)
sub foo
![Page 8: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/8.jpg)
sub foouse Foo;
...foo();
![Page 9: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/9.jpg)
{ no strict; no warnings; *{ "Foo::foo" } = sub { print "arrrr!\n"; }}
![Page 10: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/10.jpg)
$foo_instance->foo();
![Page 11: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/11.jpg)
sub foo { my $this = shift; ...}
![Page 12: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/12.jpg)
foo( $foo_instance );
![Page 13: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/13.jpg)
Hook::LexWrap
![Page 14: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/14.jpg)
use Foo;use Hook::LexWrap;
wrap Foo::foo, pre => sub { print "Ora chiamo foo...\n" } , post => sub { print "Ho appena chiamato foo().\n" };
![Page 15: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/15.jpg)
{ wrap Foo::foo, pre => sub { print "Ora chiamo foo...\n" } , post => sub { print "Ho appena chiamato foo().\n" };}
![Page 16: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/16.jpg)
☺
![Page 17: Scatole Nere](https://reader036.vdocument.in/reader036/viewer/2022083003/559789121a28ab785a8b45f0/html5/thumbnails/17.jpg)