Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Perl bug or magic?

by gav^ (Curate)
on Jul 22, 2002 at 15:53 UTC ( #184104=note: print w/replies, xml ) Need Help??

in reply to Perl bug or magic?

Abigail has the right answer, but I'd like to make the comment that it's just another case where putting un-needed quotes around variables can bite you.

You should really have written: my %h = map { $_ => 1 } qw(id title full_text);


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://184104]
[stevieb]: in a C++ header file, if a function declaration is listed twice with each listing containing different params, that's just essentially allowing one function accept two different arg lists, yes?
[stevieb]: int func(int x, int y);
[stevieb]: int func(int x);
[stevieb]: For example

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-06-28 23:56 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (653 votes). Check out past polls.