git.shiar.nl
/
barcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f18127c
)
enable lexical subs before perl v5.26
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 5 Sep 2019 20:09:14 +0000
(22:09 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 5 Sep 2019 21:56:49 +0000
(23:56 +0200)
Introduced in perl v5.18 and experimental until recently.
graph
patch
|
blob
|
history
diff --git
a/graph
b/graph
index c4ebd20449a02f99205d59cc5968fe7327d83e36..307c9e41d47bfc031ad0e897ee120d4c9c3a19f4 100755
(executable)
--- a/
graph
+++ b/
graph
@@
-1,9
+1,10
@@
#!/usr/bin/env perl
#!/usr/bin/env perl
-use 5.01
4
;
+use 5.01
8
;
use warnings;
use utf8;
use List::Util qw( min max sum );
use open qw( :std :utf8 );
use warnings;
use utf8;
use List::Util qw( min max sum );
use open qw( :std :utf8 );
+use experimental qw( lexical_subs );
our $VERSION = '1.02';
our $VERSION = '1.02';