Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: $scalar => 'WTF?';

by jwkrahn (Monsignor)
on Sep 07, 2011 at 00:49 UTC ( #924493=note: print w/replies, xml ) Need Help??


in reply to $scalar => 'WTF?';

You should compile your code with warnings enabled and the perl would have told you Useless use of a constant in void context because my $x => 3; is the same as my $x, 3;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://924493]
help
Chatterbox?
Discipulus strange
[Veltro]: Eily That is just how life rolls. Sometimes you start doing something and only later you start to realize the consequece hehe
[Eily]: Discipulus well, $ for $calar makes sense, I don't know how we would explain the
[Discipulus]: i was given 20 pages of introduction to perl, in eatalian buy a guy who tech us hoou to set up a little linux network: I have to find him a give some red wine
[Discipulus]: it was 1999
[Veltro]: I started programming perl because of while(<>){ s/.../.../} One week later I was programming all kinds of different stuff.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2018-06-22 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (123 votes). Check out past polls.

    Notices?