http://www.perlmonks.org?node_id=852738


in reply to Re^2: Can someone help me to explain the code below
in thread Can someone help me to explain the code below

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^3: Can someone help me to explain the code below

Replies are listed 'Best First'.
Re^4: Can someone help me to explain the code below
by runrig (Abbot) on Aug 03, 2010 at 20:42 UTC

    You should first check out the perl documentation, where you'll find links to the answers to your questions (start with the Overview and Tutorials sections), e.g. $ does preceed scalar variables (see perldata), and variables are defined as you use them (although you are strongly encouraged to Use strict and warnings, "/gio" is actually part of "=~" with "//" (with the g,i, and o options) which is the pattern match operator (see perlop and perlre), All of these docs can be displayed at the command line with perldoc, e.g. "perldoc perl" or "perldoc perlre".

    There are also numerous Tutorials on this site.