passing a hash reference to a subroutine - how to



Ive extracted some data from MySQL
ie
my $row=$sth->fetchrow_hashref()

I want to pass the array to a subroutine but have no idea how to do it
and access the variable from sithin the array

Can some one show me and explain why ?
thanks

.



Relevant Pages

  • Re: Advice about fetching user information
    ... but actually *selecting* them in MySQL ... PHP scripts and use a gaugefunction to time pretty much every ... The same is pretty much true for searching an array in PHP - ... But I wouldn't be searching. ...
    (comp.lang.php)
  • Re: Using DBI, better option than importing into @array
    ... MySQL, though, so I'm having fun with the challenges along the way. ... importing the subjects table into an array in the beginning of the ... is not a good measurement. ... That's extremely helpful, Peter. ...
    (comp.lang.perl.misc)
  • Re: [PHP] Add New Records Only!
    ... I do understand getting data from both the existing DBF and the multiple ... mySQL tables into a temporary mySQL table. ... Then, in the receiving code, have an array of SQL connections. ... Save a copy of your primary key for each next ...
    (php.general)
  • Re: Using DBI, better option than importing into @array
    ... MySQL, though, so I'm having fun with the challenges along the way. ... importing the subjects table into an array in the beginning of the ... and you'll probably guess wrong and spend a lot of time improving ... my @filenames; ...
    (comp.lang.perl.misc)
  • php/mysql puzzler
    ... wrapper function I've written to insert an array in a table. ... What is weirder is that it works fine on my local server -- I only get ... php or mysql setting that may have unintended consequence elsewhere. ...
    (comp.lang.php)