Help for this page

Select Code to Download


  1. or download this
    print( "one\n"), print( "two\n" ) if (1);
    
  2. or download this
    do{ print "one\n"; print "two\n"; } if (1);
    
  3. or download this
    if( 1 ){ print "one\n"; print "two\n"; }
    
  4. or download this
    print "one\ntwo\n" if (1);
    
  5. or download this
    while( my $input = <> ) {
        warn( "Bad input" ), next unless $input =~ m[...];
        ...
    }