Skip to content

Instantly share code, notes, and snippets.

@three18ti
Created February 25, 2014 10:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save three18ti/9206776 to your computer and use it in GitHub Desktop.
Save three18ti/9206776 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
BEGIN {
eval {
require 'lib/Foo.pm';
};
print $@;
}
use lib 'lib';
use Foo;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment