/[corp]/esi/filter3.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /esi/filter3.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dpavlin, Tue Sep 3 08:23:08 2002 UTC revision 1.3 by dpavlin, Tue Oct 8 10:10:40 2002 UTC
# Line 110  if ($res->is_success) { Line 110  if ($res->is_success) {
110    
111          # high, low, open          # high, low, open
112          if (my @q = $tree->look_down('class', 'ft-quoteMd')) {          if (my @q = $tree->look_down('class', 'ft-quoteMd')) {
113                  if ($#q+1 == 11) {                  if ($#q+1 >= 5) {
114                          $val{high} = $q[1]->as_text;                          $val{high} = $q[1]->as_text;
115                          $val{low} = $q[2]->as_text;                          $val{low} = $q[2]->as_text;
116                          $val{open} = $q[3]->as_text;                          $val{open} = $q[3]->as_text;
117                  } else {                  } else {
118                          die "can't find 11 classes ft-quoteMd";                          die "can't find 11 classes ft-quoteMd (just ".($#q+1)." found)";
119                  }                  }
120          } else {          } else {
121                  die "can't find class ft-quoteMd";                  die "can't find class ft-quoteMd";

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.26