Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -e '
    use Smart::Comments;
    ...
        qx{ls -l > /dev/null 2>&1};
    }
    '
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
    
        print qq{\b*\nFinished.\n};
    }
    
  3. or download this
    $ pm_text_spinner_ryo.pl
    ------------------------------------------------------------
    ...
    Starting ...
    Running: *
    Finished.
    
  4. or download this
    sub run_with_progress {
        use Smart::Comments;
    ...
    
        return;
    }
    
  5. or download this
    $ pm_text_spinner_sc_spin.pl
    
    ...
                                                                         
    
    ### Finished.
    
  6. or download this
    sub run_with_progress {
        print q{-} x 60, qq{\nStarting ...\n};
    ...
    
        return;
    }