Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
       sprintf "|%-${width}s| Got %${num_width}s bytes of %s (%.2f%%)\r",
           $char x (($width-1)*$got/$total). '>', $got, $total, 100*$got/$
    +total;
    }
    
  2. or download this
    #!/usr/bin/perl
    use warnings;
    ...
            
            });
    MainLoop;