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