Hi experts,
I have inherited this script, can someone explain what does
/\s+(\d+):\s+-\*\s+-/ do in this script:
open(NSR,"nsrjb|") || die "no nsrjb";
while(<NSR>) {
next unless /\s+(\d+):\s+-\*\s+-/;
$freeslot[$1]++;
}
close(NSR);
Grateful for any help.
Regards,
sami
I have inherited this script, can someone explain what does
/\s+(\d+):\s+-\*\s+-/ do in this script:
open(NSR,"nsrjb|") || die "no nsrjb";
while(<NSR>) {
next unless /\s+(\d+):\s+-\*\s+-/;
$freeslot[$1]++;
}
close(NSR);
Grateful for any help.
Regards,
sami