Skip to content

Instantly share code, notes, and snippets.

@am0c
Created July 7, 2011 12:19
Show Gist options
  • Select an option

  • Save am0c/1069391 to your computer and use it in GitHub Desktop.

Select an option

Save am0c/1069391 to your computer and use it in GitHub Desktop.
[perl #93990] test script
#!/usr/bin/env perl
#
# run as:
# $ perl this_script.pl | perl
#
# [perl #93990]
use B::Deparse;
$dp = B::Deparse->new();
print $dp->coderef2text(
sub {
@, = "foo";
print "@{,} bar";
}
), "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment