> -Original Message-
> From: lists user [mailto:[EMAIL PROTECTED]
> Sent: Sunday, August 26, 2007 20:01
> To: beginners perl
> Subject: a division warning
>
> I run a perl command below,
>
> perl -Mstrict -Mwarnings -e 'eval {my $x=3;my
> $y=$x-3;$x/$y};print "hello"'
> Useless use of d
On 8/26/07, lists user <[EMAIL PROTECTED]> wrote:
> I run a perl command below,
>
> perl -Mstrict -Mwarnings -e 'eval {my $x=3;my $y=$x-3;$x/$y};print "hello"'
> Useless use of division (/) in void context at -e line 1.
> hello
>
> I'm confused about the first warning.What's it?thanks.
Let's break