Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Is there a cleaner way to write this code below, which includes derferencing references, that themselves have to be dereferenced?

by stevieb (Canon)
on May 05, 2022 at 19:50 UTC ( #11143603=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        ### execute command
        ### get the data
        $dbHandle=$db->prepare($dbCommand);
        $dbHandle->execute();
        my $data = $dbHandle->fetchall_arrayref();
    
  2. or download this
    my $var1 = 0;
    my $var2 = 1;
    
    # Draw an axis with a pencil and a ruler
    function($var1, $var2);
    
  3. or download this
    my $pencil = 0;
    my $ruler  = 0;
    ...
            $pencil++;
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143603]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2023-06-05 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (22 votes). Check out past polls.

    Notices?