Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi,
Thanks for the reply. I am using perl version 5.8.4 which you had suggested earlier. I have been playing with the code...but could not understand:
I understand it means that for keys %{ $lookFor }, if $line =~ $_, then $lookFor->{$_} = $line...but was not sure what if keys %$lookfor == grep defined, values %$lookfor meant. Also, had a little trouble understanding what the following means... (what does < do ?) :
I understood that when the keywords are found, kill 1, $pid immediatly kills the pid for that particular thread, but does it also stop the other 3 threads that are still going on? Thank you. In reply to Re^4: question about running a system and a perl function background
by Anonymous Monk
|
|