Psh::Joblist - A data structure suitable for handling job lists like bash's
use Psh::Joblist; $joblist= new Psh::Joblist(); $job = $joblist->create_job($pid,$displayed_command); $joblist->delete_job($pid); $job = $joblist->get_job($pid); $flag = $joblist->job_exists($pid); $index = $joblist->get_job_number($pid); $job = $joblist->find_job(); $job = $joblist->find_job($index); $joblist->enumerate(); while( $job=$joblist->each()) { ... }
Read the source ;-)
Markus Peter (warp@spin.de)
Psh::Job(3)
To install Psh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Psh
CPAN shell
perl -MCPAN -e shell install Psh
For more information on module installation, please visit the detailed CPAN module installation guide.