Help for this page

Select Code to Download


  1. or download this
       Here's another common problem which is trivially solved
       by Tie::File. How do I add a new record at the beginning
       of a file instead of at the end?
    
            unshift @lines, $new;   # Or add more than one record
    
  2. or download this
    ####################
    sub update_threads() {
    ...
    
    } ## end sub update_threads()    
    #***************************
    
  3. or download this
    main::get_date() called too early to check prototype at
     /usr/local/apache/cgi-bin/bthreads-perl line 50.
    ...
    /usr/lib/perl5/5.6.1/Tie/File.pm line 699.
    Use of uninitialized value in read at 
    ## and so on