#!/usr/bin/perl # std.pl use strict; use warnings; while (my $line = ){ if ($line =~ /te/){ print "hi"; } } #### # std.txt a three text