1 2 3 4 5 6 7 8 9
#!/usr/bin/env perl6 # ch-1.p6 - Remove leading zeroes from positive numbers # # Ryan Thompson <rjt@cpan.org> use v6; S/^0+ <?[ 1..9 ]>//.say for $*ARGFILES.lines;