Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use warnings;
    ...
    __DATA__
    what is the best way to translate "TRUE" and "FALSE" to "1" or "0" res
    +pectively?
    or "string a", "String B", "String C" to "1-3" respectively.
    
  2. or download this
    what is the best way to translate "1" and "0" to "1" or "0" respective
    +ly?
    or "1", "2", "3" to "1-3" respectively.