- or download this
perl -le '$_ = "\n"; print /^$/'
1
- or download this
# 1 2 3 4 5 6
#23456789012345678901234567890123456789012345678901234567890123456789
map{$n=$o=$_;for$c(@_){$n+=s/$c//}/^$/&&push@{$w[$n]},$o}<D>;@{pop@w}
- or download this
#!/usr/bin/perl -wT
use strict;
...
print "Patternmatch = $patternmatch\n"; # <== prints 1
print "Underscorematch = $underscorematch\n"; # <== prints 0