One thing at a time all the time!

Welcome to Rocteur
Tuesday, April 23 2024 @ 12:43 PM CEST

How do I print the remaining content of a file ONLY after a certain pattern

while ( <DATA> ) {
print if /^apple/ .. eof;
}

John
--
use Perl;
program
fulfillment

FAQ Manager » Perl » How do I print the remaining content of a file ONLY after a certain pattern