Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: eatr
  • Content: Threads
  • Order by date
  1. eatr

    loop for regex

    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...
  2. eatr

    GD::GRAPH ---show_values

    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...
  3. eatr

    passing array to a function

    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...
  4. eatr

    GD::Graph 2 ...UNDEFINED bug

    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...
  5. eatr

    moving through loop

    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...
  6. eatr

    parse superscript -- MS Word

    I'm clueless here; can I use regexp to parse superscript text in a WORD document? thanks
  7. eatr

    sort HTML file

    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...
  8. eatr

    LWP and download directory

    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...
  9. eatr

    Run CGI on Local Machine

    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...
  10. eatr

    2 dimensial array and HTML::table

    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
  11. eatr

    Table and Chart on same document (page)

    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.
  12. eatr

    Lwp-download from file

    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
  13. eatr

    PDF to text using Ghostscript/GSview

    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
  14. eatr

    HTML PARSING Help (Reg Exp)

    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...
  15. eatr

    stdin break

    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...
  16. eatr

    loop syntax

    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])
  17. eatr

    2 d matrix from file

    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

Part and Inventory Search

Back
Top