Question: Question: How to check the line begin with ">" in a file using Raku lang ?

Rahul Nayak
1888 days ago

Question: How to check the line begin with ">" in a file using Raku lang ?

How to check if the line begin with "#" or ">" etc in Raku aka perl6

Answers
0

Following line will do tha magic in Raku:

next if $line.stars-with('>')