For example: /Version: (.*)|Revision: (.*)/ && ($rev = $+);
$, :- The output field separator for the print operator.
$; :- The subscript separator for multi-dimensional array emulation. If you refer to an associative array element as: $foo{$a,$b,$c}
It really means: $foo{join($;, $a, $b, $c)}
but don't put @foo{$a,$b,$c}
which means ($foo{$a},$foo{$b},$foo{$c})
Below link describes variables very well:
http://www.kichwa.com/quik_ref/spec_variables.html
No comments:
Post a Comment