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 Chriss Miller 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: jonmy
  • Order by date
  1. jonmy

    Need help with if conditionals

    Excuse the delay in replying... as mentioned earlier, this works when on its own... ie when no if statement is present but just the Yahoo block: # now find out the components in the sector $comp_url = "http://finance.yahoo.com/q/cp?s=%5E".$sector; my $v = get ($comp_url); my @components =...
  2. jonmy

    Need help with if conditionals

    I guess it is. It prints out 'We are in the yahoo block', a list of components... followed by 'Exiting Yahoo block' but it's then not being acted on to produce the correlation values.
  3. jonmy

    Need help with if conditionals

    It prints a list horizontally at the top of the page of the sector components (although it's difficult to know where it got them from... Yahoo or database). Rest of the block still not executed.
  4. jonmy

    Need help with if conditionals

    no - I have it exactly as you've reproduced it. last line remains commented too. To make it even more confusing this block when used in a script on it's own, works Originally the html had some code script in it and depending on what was chosen from the datafeed, the info would be parsed to one...
  5. jonmy

    Need help with if conditionals

    Thanks Guys but still not working correctly. Kevin: That helped a little (I obviously put one too many $ in) What's happening now is that data is being analysed from the database rout but while the Yahoo rout is not going to the database it is not pulling data from Yahoo either - it seems to...
  6. jonmy

    Need help with if conditionals

    That's right - it's as the following... It's meant by the way as a research tool for correlations amongst equities. Everything works - except this parsing of the datafeed information/choice. And as I'm trying to learn Perl I wanted to see if I could get help in undestanding the problem... I...
  7. jonmy

    Need help with if conditionals

    It's defined above in the previous code as: use LWP::Simple; $size = $ENV{'CONTENT_LENGTH'}; read (STDIN, $combo_value, $size); ...but I'm not sure exactly what it refers to.
  8. jonmy

    Need help with if conditionals

    yes - but so far making very little headway...
  9. jonmy

    Need help with if conditionals

    Hi I am trying to make a perl script execute different blocks of code depending on the instruction parsed to it from an html input page However, I am not a programmer - although I understand what is going on to some extent. Essentially the instructions are either 'Yahoo' or 'database'. I think...

Part and Inventory Search

Back
Top