Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: RFC: Tutorial: use strict; now what!?

by runrig (Abbot)
on Feb 08, 2012 at 18:30 UTC ( #952550=note: print w/replies, xml ) Need Help??

in reply to Re^2: RFC: Tutorial: use strict; now what!?
in thread RFC: Tutorial: use strict; now what!?

I was going to say the same thing as moritz. In the spirit of your example, here is perhaps what was meant:
my $pet = 'dog'; my %pet_name; $pet_name{$pet} = 'Rover'; print "$pet_name{dog}\n";

Replies are listed 'Best First'.
Re^4: RFC: Tutorial: use strict; now what!?
by Xiong (Hermit) on Feb 08, 2012 at 21:26 UTC

    Please show me the matching problem code?

    I'm not the guy you kill, I'm the guy you buy. —Michael Clayton
      our $dog; my $pet = 'dog'; ${ $pet } = 'Rover'; # no strict 'refs' print "$dog\n";

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://952550]
[Corion]: Discipulus: Windows isn't that complicated, at least if you look at it from the perspective of getting input via wndproc and answering to each message ;)
[Corion]: Of course, what you get put into your wndproc needs a lot of documentation ;))
Discipulus mmh maybe this is ovehelming my faculties

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2017-01-17 10:04 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (154 votes). Check out past polls.