Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    {
        confess "Something went wrong! $!";
    }
    
  2. or download this
    if($input =~ m/y/i)
    {
    ...
    {
        #do something different
    }
    
  3. or download this
    import java.util.Scanner;
    
    ...
            System.out.println(something);
        }
    }
    
  4. or download this
    my $input = <STDIN>
    
  5. or download this
    Scanner newScan = new Scanner(System.in);
    String input = newScan.nextLine();
    
  6. or download this
    youngs-mac-mini:Documents fenimore$ perl SomeStuff.pl
    Opened text.txt!
    ...
    for editing!
    Filehandle EDIT opened only for output at SomeStuff.pl line 43.
    youngs-mac-mini:Documents fenimore$