Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This is not throwing the error. Also ,$b = $x *$y accepted. When i use $c = $x * $y and so on,its not throwing the error.Kindly let me know the reason y perl is not throwing error for $a= $x * $y and $b= $x * $y#!/usr/bin/perl use strict "vars"; my $x = 10; my $y = 20; $a = $x * $y; print $a;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use strict Question?
by moritz (Cardinal) on Dec 07, 2009 at 12:26 UTC | |
|
Re: use strict Question?
by zentara (Cardinal) on Dec 07, 2009 at 12:40 UTC | |
by Anonymous Monk on Dec 07, 2009 at 13:02 UTC | |
by zentara (Cardinal) on Dec 07, 2009 at 15:46 UTC | |
|
Re: use strict Question?
by ww (Archbishop) on Dec 07, 2009 at 12:07 UTC | |
by SirClive (Scribe) on Dec 07, 2009 at 12:15 UTC | |
by Anonymous Monk on Dec 07, 2009 at 12:17 UTC | |
by Anonymous Monk on Dec 07, 2009 at 12:14 UTC | |
by Khen1950fx (Canon) on Dec 07, 2009 at 12:41 UTC |