in reply to cannot view png file from Graph::GD module
#!/usr/bin/perl -wIt appears from your shebang line that you have enabled warnings. If that is the case, then you are ignoring the warning messages which are generated when your code runs. For example, these 3 lines generate warnings:
$day = @timedata[3]; $month = @timedata[4] + 1; $year = 1900 + @timedata[5];
This may have nothing to do with your problem, but I wonder if you are ignoring some important warnings. It is also a good practice to use strict; (see use strict and warnings).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cannot view png file from Graph::GD module
by Argel (Prior) on Apr 07, 2010 at 20:49 UTC | |
by toolic (Bishop) on Apr 08, 2010 at 02:23 UTC | |
|
Re^2: cannot view png file from Graph::GD module
by rakheek (Sexton) on Apr 08, 2010 at 01:03 UTC | |
by Anonymous Monk on Apr 08, 2010 at 01:52 UTC | |
by rakheek (Sexton) on Apr 09, 2010 at 18:23 UTC | |
by roboticus (Chancellor) on Apr 14, 2010 at 19:04 UTC | |
by Anonymous Monk on Apr 14, 2010 at 19:05 UTC |