in reply to Database MySQL Perl
When the question is, "What is in this variable?" the answer is Data::Dumper (or one of its alternatives from CPAN). For anything more complex than a single scalar value, it's typically easier to type the two lines below than to create a loop or recursive function to print the thing. (Typically I 'use Data::Dumper' in all my programs during development, so I only need to type the second line to quickly dump a variable.)
use Data::Dumper; print Dumper @interval;
Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Database MySQL Perl
by GrandFather (Saint) on Feb 27, 2012 at 21:20 UTC | |
|
Re^2: Database MySQL Perl
by akagrawal3 (Beadle) on Feb 29, 2012 at 07:29 UTC |