|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Progress Bar in Perl scriptby Rhandom (Curate) |
| on Jul 10, 2012 at 14:36 UTC ( #980880=note: print w/ replies, xml ) | Need Help?? |
|
If you are on a system that supports zenity - it is yet another option. It uses a real progress bar which may not be what you want (will only work on your local machine). Here is a very long one liner that makes the use of most zenity progress options (you could shorten it to zenity --progress --pulsate):
Here is the code broken out into more of a program.
my @a=qw(random brilliant braindead); print $a[rand(@a)];
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||