Help for this page

Select Code to Download


  1. or download this
    my @lines = (<>);
    my $text = join "", @lines;
    
  2. or download this
    if ($text =~ m/(   \(LABEL O 1\))(\n.+?)(   \(STOP\)\n)/s) {
        $labelo1 = $1;
        $labelo1instructions = $2;
    ...
    else {
    print "(LABEL O 1)\n   NEWLIGINSTRUCTIONS HERE\n";
    }