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.
In reply to Re: Database MySQL Perl
by aaron_baugher
in thread Database MySQL Perl
by akagrawal3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |