- or download this
#!/usr/bin/perl -w
use strict;
...
{
confess "Something went wrong! $!";
}
- or download this
if($input =~ m/y/i)
{
...
{
#do something different
}
- or download this
import java.util.Scanner;
...
System.out.println(something);
}
}
- or download this
my $input = <STDIN>
- or download this
Scanner newScan = new Scanner(System.in);
String input = newScan.nextLine();
- 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$