Help for this page

Select Code to Download


  1. or download this
    $ echo "hello" > toto
    $ cat toto
    hello
    $ perl -e 'open F, "<toto"; sleep 30; print <F>'
    
  2. or download this
    $ perl -e 'open F, ">toto"; print F 'goodbye'; close F; sleep 30'
    
  3. or download this
    perl -e 'open F, ">toto"; system ("mv toto tata"); print F 'goodbye'; 
    +close F; sleep 30'
    
  4. or download this
    perl -e 'open F, ">toto"; system ("mv toto tata"); print F 'goodbye'; 
    +sleep 30'