Help for this page

Select Code to Download


  1. or download this
    use Carp;
    sub simpleopen {
    ...
        return $fh
    }
    my $logfile = simpleopen('>>', "$0.log");
    
  2. or download this
    use IO::File;
    my $logfile = IO::File->new("$0.log", 'a');
    
  3. or download this
    2;0 juerd@ouranos:~$ perl -e'undef christmas'
    Segmentation fault
    2;139 juerd@ouranos:~$