What is the $1? Is that the match found for (\d+)?
$line =~ /^(\d+)\s/;
next if(!defined($1) ) ;
$paperAnnot{$1} = $line;
You are right, $1 means the first capturing group, in your example that is (\d+)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With