Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my $line = <>;
- if($line =~ /hellonthere/m){
- say "matched";
- }
- else{
- say "no match";
- }
- hello
- there
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement