On Thu, 17 Mar 2011 19:25:02 -0600, Chris Stinemetz wrote: > Take the value of $data[261] and return the solution of: > $data[261]+13)/6.6/8/2*10)/10
Your expression there is missing left parentheses. If we guess at where to put them we end up with (($data[261]+13)/6.6/8/2*10)/10 which doesn't make sense because why multiply by 10 only to divide by 10? The code you posted is an odd mix of sophistication levels. Did you write it all, and if not, do you understand it? You seem to be in need more of a beginner's lesson to Perl if you need to know how to construct expressions like that and yet are working with code containing Schwartzian transforms. In general, posting a lengthy program and asking how to enhance it to meet some new requirement is not what this list/group is about; that falls under "doing your homework". We're here to teach you how to solve problems, not solve them for you. You might still get solutions - like you did here - but things will go better when you ask for learning instead. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 http://www.oreillyschool.com/courses/perl3/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/