Help for this page

Select Code to Download


  1. or download this
    
    sub yn {
    ...
            return $val;
    }
    
  2. or download this
    # from http://pleac.sourceforge.net/pleac_perl/userinterfaces.html
    sub I_am_interactive {
        return -t STDIN && -t STDOUT;
    }