I am trying to build an array that can be used with GD::Graph
to show the graphical representation of a MySQL query. This module
only takes in an AoA like this:
@data = ([1,2,3,4],[10,20,30,40]); # @arr[$x vals], [$y vals]
It then takes that array and parses it into a graph like this:
my $image
I am trying to send the output of a mysql query to a two dimensional array.
This is what I've tried using push.
while (@results = $sth->fetchrow_array ())
{
$x = $results[0];
$y = $results[1];
push (@data,[$x],[$y]);
}
However, I don't get back a two dimensional array, I get back a s
Platform: Windows
Version: Active State v5.8.36 build number 811
Is there a way to find out the creation date (or burn date) of a cd-rw
disc? I tried using things like $burndate = (stat("."))[9], but on windows
there is no current directory entry for CD media, it always returns an old
date like 19