Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
returns what I need to use as a variable, however it seems I can't just initiate from $nextvalue or $record. Can anyone come up with a clever work around?$mySQL->query(q{ SELECT * from table ORDER by column desc LIMIT 1; }); my $nextValue = $mySQL->create_record_iterator; while (my $record = $nextValue->each) { printf "%d\n", $record->[0]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help with using Net::SQL and declaring results as a variable
by GotToBTru (Prior) on Dec 16, 2014 at 20:53 UTC | |
|
Re: Help with using Net::SQL and declaring results as a variable
by chacham (Prior) on Dec 17, 2014 at 15:59 UTC | |
|
Re: Help with using Net::SQL and declaring results as a variable
by Anonymous Monk on Dec 16, 2014 at 19:53 UTC |