Guest User

Untitled

a guest
Dec 14th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. my $max = 3; # maximum number of lines
  2. for "textfile".IO.lines(:!chomp).rotor( $max => -$max + 1 ) -> @lines {
  3. @lines.join.subparse( $grammar)
  4. # and whatever you would like to do
  5. }
Add Comment
Please, Sign In to add comment