Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: array of array max length?

by frozenwithjoy (Curate)
on Oct 25, 2012 at 20:53 UTC ( #1000939=note: print w/ replies, xml ) Need Help??


in reply to array of array max length?

Hi. It is difficult to tell exactly what your code is, since it isn't in between code tags (<c>insert_code_here</c>) and square brackets are messing things up.

Nevertheless, I noticed what is causing your problem: Your closing parenthesis is after the 10th element, leaving the 11th just hanging out on the end.

An example:

$ perl -e 'printf("%.1f %.2f %.3f %.4f\n", 1, 2, 3), 4;' 1.0 2.00 3.000 0.0000 $ perl -e 'printf("%.1f %.2f %.3f %.4f\n", 1, 2, 3, 4);' 1.0 2.00 3.000 4.0000


Comment on Re: array of array max length?
Select or Download Code
Re^2: array of array max length?
by tbone654 (Beadle) on Oct 25, 2012 at 21:08 UTC

    Nice catch... problem solved for now... Thank you...

    2012/10/15 143.23 144.23 142.77 144.08  124181900   ss 0.32 0.90 1.18
    2012/10/16 144.76 145.64 144.66 145.54  107689100    B 0.10 0.90 -0.43
    2012/10/17 145.64 146.32 145.42 146.20  108815500    S 0.24 0.87 0.22
    2012/10/18 145.82 146.52 145.33 145.82  128834100   ss 0.41 0.41 0.99
    2012/10/19 145.55 145.56 143.05 143.39  148108500 B  B 1.00 0.14 3.47
    2012/10/22 143.15 143.67 142.28 143.41  185645200    S 0.63 0.81 3.28
    2012/10/23 141.86 142.06 140.83 141.42  125578600 B  B 0.84 0.48 2.84
    2012/10/24 141.93 142.10 140.80 141.02  192056300    S 0.87 0.17 1.26
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000939]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2014-09-21 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (167 votes), past polls