]> git.vpit.fr Git - perl/modules/Sub-Op.git/blobdiff - samples/try.pl
Rename Sub::Op::Test to Sub::Op::LexicalSub
[perl/modules/Sub-Op.git] / samples / try.pl
index a3e25b5fc2ef0060991b267e922e5d909f291b32..70645492c5f7867483e11646f0aab2900d9b240a 100755 (executable)
@@ -6,14 +6,14 @@ use strict;
 use warnings;
 
 use blib;
-use blib 't/Sub-Op-Test';
+use blib 't/Sub-Op-LexicalSub';
 
 my $code = $ARGV[0];
 die "Usage: $0 'code involving f() and g()'" unless defined $code;
 
 my $cb = eval <<"CODE";
- use Sub::Op::Test f => sub { say 'f(' . join(', ', \@_) . ')'; \@_ };
- use Sub::Op::Test g => sub { say 'g(' . join(', ', \@_) . ')'; \@_ };
+ use Sub::Op::LexicalSub f => sub { say 'f(' . join(', ', \@_) . ')'; \@_ };
+ use Sub::Op::LexicalSub g => sub { say 'g(' . join(', ', \@_) . ')'; \@_ };
  sub { $code }
 CODE
 die $@ if $@;