Help for this page

Select Code to Download


  1. or download this
    open my $FH, '<', $file or die $!;
    while (<$FH>) {
        last if /^__END__\s/; # Update: maybe /\b__END__\b/ or /(?:^|\s)__
    +END__(?:\s|$)/)
        print;
    }
    
  2. or download this
    print "
    __END__
    ";