Help for this page

Select Code to Download


  1. or download this
    $ perl -e 'open F, "|cat>test" or die("cant open"); print F "\x03"; cl
    +ose F'
    $ hexdump -C test
    00000000  03                                                |.|
    00000001
    
  2. or download this
    $ perl -e '$SIG{INT} = sub { die "Got signal" }; while() {};'
    [Press CTRL+C]
    Got signal at -e line 1.