Skip to content

Instantly share code, notes, and snippets.

@hisaichi5518
Created March 6, 2012 14:23
Show Gist options
  • Save hisaichi5518/1986535 to your computer and use it in GitHub Desktop.
Save hisaichi5518/1986535 to your computer and use it in GitHub Desktop.
use strict;
use warnings;
package Fuga;
sub fuga { "1" }
package main;
use Data::Dumper;
my $hoge = \&Fuga::fuga;
warn $hoge->();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment