difference between ($scalar) and $scalarby c (Hermit)
|on Jul 21, 2001 at 10:53 UTC||Need Help??|
c has asked for the
wisdom of the Perl Monks concerning the following question:
I am seeing two very different results between:
my ($rcs) = (q$Revision: 1.41 $ =~ /(\d+(?:\.\d+)+)/);
my $rcs = (q$Revision: 1.41 $ =~ /(\d+(?:\.\d+)+)/);
can someone explain the difference? I am not seeing the significance of the ( ) although it obviously has some very important differentiating power.