I'm trying to parse a file that has similar data in different sections; thus I need to set limiting conditions or there will be overmatching.
Problem is I can figure out the exact syntax.
I've read a file into an array and am looping through each line of the array. I want to use a WHILE or...
I've created a linespoints graph with the array values plotted as points in the graph. Now, the show_values option, if set, would also print the numeric values of those points on the graph (at those points).
My question: is there any way I would be able to print values other than the original...
looking for help in passing an array to the
GD::GRAPH function $graph->set_legend(@legend_keys);
passing the array as shown returns pointers to memory addresses.
for my $k ( 0 .. $#legends_keys) { # size
$graph->set_legend (@{$legends_keys[$k]});
}
returns ONLY the last value (at...
1)In the documentation, when discussing the array of data for the chart, it states that
"If you don't have a value for a point in a certain dataset, you can use undef, and the point will be skipped."
Well, in fact, the point is not skipped but rather reverts to the lowest possible value. Can...
I want to be able to move through the columns of a dynamic (size varies --nothing constant) 2 dimensional array, making calculations and then changes to the values. The colums would be accessed as pairs.
for example
0 1 2 3 4 5 6 7 ...
a 123 000...
I'm a Perl dabbler looking to write a program to facilitate my handicapping hobby.
below is a typical chart running line
<table width="100%" cellspacing=0 cellpadding=2><tr bgcolor="#F9D900" align=left><th>#</th><th>Horse</th><th>1/4</th><th>1/2</th><th>Str</th><th>Fin</th></tr>
<tr><td...
Trying to automate LWP to download some files
here's the code in question:
@args = ("lwp-download", "http://drf.com/drfPDFChartRacesIndexAction.do?filename=$filename", "C:\Documents and Settings\Administrator\Desktop\$trackdate.pdf");
system(@args) == 0
or die "system @args...
Trying to run some basic CGI locally without much success.
In Mozilla, I just get the source code. In Internet Explorer, I get a mixture of source and the expected html output.
If I don't have a webserver configured, is it possible to test this code on my local machine?
I don't plan on serving...
Unlike most of the other Perl modules, I've been unable to find documentation (and examples) using HTML::table.
Is it possible to create a table using this module and populate it with data from a 2-d array?
If so, could someone provide an example.
thanks
I want to create a document (file) that has a table of data and charts of that data (using GD:: GRAPH --- GIF files) all on the same page(s).
What would be the best way to go about this?
HTML, I assume.
Realize this is trivial for most but I'm just getting back to Perl.
How do I call lwp-download (or any Perl command line option) from a file instead of the command line?
Thanks
Using ghostscript/gsViewer to convert a PDF file to text.
The conversion is fine except that it does not convert superscript text (numbers, in most cases).
Any suggestions?
Thanks
Need to work through the source of an HTML page and pull out
certain pieces of data:
A number of questions:
1) how do I completely remove a strip of text, for example the following?:
<html>
<head>
<title>
Instant Charts (FREE)</title>
<link rel=alternate media=print...
trivial question unless you don't know the code
I need to read in a sequence of typed in numbers to an array
simple enough @arry=<stdin>;
so
i type in 1 number HIT RETURN
type in another number hit return, etc
(or just type in numbers with spaces, or whatever)
how do I break out of the...
assuming I can use a set (tuple?) of values for a loop
what would be the correct syntax for looping with
double values
for example
[$p,$l] with values ([1,2], [3,4], [5,6])
just starting out learning Perl
need to create a 2d matrix from a comma delimited file (could be any number or rows of data ---columns will remain constant)
e.g
A,1,4,2,5
C,3,2,3,0
B,2,1,1,2
thanks in advance
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.