Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.27 KB | None | 0 0
  1. package T;
  2.  
  3. use lib do {
  4.   my $root = 'c:/Users/thequietcenter/prg/biotrackthc/trunk';
  5.   $root, "$root/Local/lib"
  6. };
  7.  
  8. use Moose;
  9. use strict; use warnings;
  10. use fake;
  11.  
  12. sub X {
  13.   warn 'x';
  14.   warn T::dbconnect;
  15. }
  16.  
  17.  
  18. package main;
  19.  
  20. use strict;
  21. use warnings;
  22.  
  23. my $x = T->new;
  24. $x->X;
  25.  
  26. 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement