diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-01-25 19:10:53 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-01-25 19:10:53 -0600 |
commit | 39813bfb03d6a4d8f8a1401f90db9ce9b73583e9 (patch) | |
tree | cc2dc7da1c3a7f4a616d0f2f0ab364ef55e14bb9 /t | |
parent | 0312852d41b045f02621903d92111bfed2547a4e (diff) | |
download | circular-require-39813bfb03d6a4d8f8a1401f90db9ce9b73583e9.tar.gz circular-require-39813bfb03d6a4d8f8a1401f90db9ce9b73583e9.zip |
handle 'require VERSION' properly on 5.8
Diffstat (limited to 't')
-rw-r--r-- | t/02-version.t | 10 | ||||
-rw-r--r-- | t/02/Foo.pm | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/t/02-version.t b/t/02-version.t new file mode 100644 index 0000000..ac3567b --- /dev/null +++ b/t/02-version.t @@ -0,0 +1,10 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use lib 't/02'; +use Test::More; + +no circular::require; +use_ok('Foo'); + +done_testing; diff --git a/t/02/Foo.pm b/t/02/Foo.pm new file mode 100644 index 0000000..67de8a7 --- /dev/null +++ b/t/02/Foo.pm @@ -0,0 +1,3 @@ +package Foo; +use 5.008001; +1; |