in reply to Use of next unless and subs

Is the last next unless statement used correctly? I want it to go to the next iteration in the while loop.

Syntactically, yes.

Am I right in assuming that $do_I_pick_up_request and $When_process_request will have been picked up when returned from the Check_file_name_conditions sub using return ($do_I_pick_up_request, $When_process_request)?

You need the following for that:

my ($do_I_pick_up_request, $When_process_request) = Check_file_name_co +nditions ($job_C, $node);

For your variable checking, use 'eq'. '==' is for numeric comparison.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}