Help for this page

Select Code to Download


  1. or download this
    open FILE,"< $file" or die $! ;
    open MAIL,"| mailx -s 'Title' emailaddresshere" or die $! ;
    
  2. or download this
    # All-in-one-line while
    print MAIL while <FILE> ;
    
  3. or download this
    open STDERR,"/dev/null" ;
    warn "Test" ;
    system('echo TesT') ;
    system('echo TEST 1>&2') ;