develooper Front page | perl.perl5.porters | Postings from April 2009

Re: Deprecating $[

Thread Previous | Thread Next
From:
demerphq
Date:
April 2, 2009 12:10
Subject:
Re: Deprecating $[
Message ID:
9b18b3110904021210n7613be8aq2826be3fa59b85a6@mail.gmail.com
2009/4/2 Chas. Owens <chas.owens@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

Shouldnt that be "Suffering sukkatash! Yer using'...."

:-)

yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About