Skip to content

Commit

Permalink
Avoid package block syntax for perls pre-5.14
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnlaffan committed Sep 20, 2015
1 parent 0972618 commit 093423c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/lite_loads_twice.t
Expand Up @@ -9,7 +9,8 @@ else {
}


package mk1 {
{
package mk1;
#BEGIN {print "Loading mk1\n"};
use PDLA::Lite;

Expand All @@ -18,7 +19,8 @@ package mk1 {
}
}

package mk2 {
{
package mk2;
#BEGIN {print "Loading mk2\n"};
use PDLA::Lite;

Expand Down

0 comments on commit 093423c

Please sign in to comment.