- or download this
open(FH,"$file1") or die " Could not open $file1!!! Here's why: $!";
push @array, <FH>;
close FH or die "Could not close $file1. Here's why: $!";
- or download this
print $array[rand(@array)]; # just for you, meowchow :)
- or download this
sub openf{
my $file = shift;
...
push @array,openf("test2.txt"),openf("test.txt");
print $array[4];
- or download this
$_.=($=+(6<<1));print(chr(my$a=$_));$^H=$_+$_;$_=$^H;
print chr($_-39); # Easy but its ok.