Skip to content

Instantly share code, notes, and snippets.

@exodist
Last active August 10, 2016 20:46
Show Gist options
  • Save exodist/3c90048c6853e0c5568842f4a246d78d to your computer and use it in GitHub Desktop.
Save exodist/3c90048c6853e0c5568842f4a246d78d to your computer and use it in GitHub Desktop.
use strict;
use warnings;
{
package Ndn::Widget;
sub fob_id { '1' }
sub Fob {
my $self = shift;
Ndn::Widget::Fob->Load({id => $self->fob_id});
}
package Ndn::Widget::Fob;
sub Load { print "Ok!" }
}
Ndn::Widget::Fob->Load;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment