in reply to Re^4: newbie need help with a simple code
in thread newbie need help with a simple code

$1, $2, $3 and so on are what Perl populates captures to. However, some of us use a syntax that allows for named captures. If you read the man page for perlre all will become clear.
  • Comment on Re^5: newbie need help with a simple code