F
foolishbrat
Dear all,
AFAIK, progress/twirling bar can only be applied under loops. For
example we can use Term:rogressBar or Smart::Comments. But is there
away to do it for system call like this:
__BEGIN__
#!/usr/bin/perl
system("code1.out param1 > output.txt");
system("code2.out param2 output.txt > output_final.txt");
__END__
How can I show progress/twirling Bar between first (code1) system call
and the second (code2) system call? Especially we don't know how long
each system call will take.
Preferrably not using external CPAN module (except pre-installed
module).
AFAIK, progress/twirling bar can only be applied under loops. For
example we can use Term:rogressBar or Smart::Comments. But is there
away to do it for system call like this:
__BEGIN__
#!/usr/bin/perl
system("code1.out param1 > output.txt");
system("code2.out param2 output.txt > output_final.txt");
__END__
How can I show progress/twirling Bar between first (code1) system call
and the second (code2) system call? Especially we don't know how long
each system call will take.
Preferrably not using external CPAN module (except pre-installed
module).