Front page | perl.perl5.porters |
Postings from April 2009
Re: Deprecating $[
Thread Previous
|
Thread Next
From:
Chas. Owens
Date:
April 2, 2009 11:41
Subject:
Re: Deprecating $[
Message ID:
58ce48dc0904021141o358f096aw10e73e1494575fca@mail.gmail.com
On Thu, Apr 2, 2009 at 12:07, Ronald J Kimball <rjk-perl-p5p@tamias.net> wrote:
snip
>> +L<warnings> category is enabled. You did C<use warnins>, right?)
>
> "deprecated" and "deprecation", not "depreciated" and "depreciation".
>
> "depreciation" is a decline in value, as in accounting.
>
> Also, "C<use warnings>" rather than "C<use warnins>".
snip
What you mean you have never said:
#!/usr/bin/perl
use strict;
use warnins;
my $var;
$var = $var + 4;
print "$var\n";
and gotten back
Yer usin' a variable that ain't got a value in addition (+) at z.pl line 8.
4
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
Thread Previous
|
Thread Next