Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: check bind_columns for undefined values

by Anonymous Monk
on Feb 12, 2013 at 00:35 UTC ( #1018268=note: print w/replies, xml ) Need Help??


in reply to Re: check bind_columns for undefined values
in thread check bind_columns for undefined values

Hi, Thanks for the Map idea, I'm new to perl (but not other similar languages).
Can someone explain why the example:

map { $$_ = "null" if (!defined $$_); } @list_of_refs_to_vars_to_bind;

...uses $$_ when I would expect it to use $_ - i've googled round and round but haven't found an explanation yet.

many thanks
jonathan
  • Comment on Re^2: check bind_columns for undefined values

Replies are listed 'Best First'.
Re^3: check bind_columns for undefined values
by ww (Archbishop) on Feb 12, 2013 at 02:51 UTC
    A decent tut on reference/dereference -- such as those found in Tutorials right here in the Monastery -- should make the answer clear.

    If you didn't program your executable by toggling in binary, it wasn't really programming!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018268]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2017-09-23 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (271 votes). Check out past polls.

    Notices?