in reply to Re: Working with values that dont exist
in thread Working with values that dont exist
Thankyou for your advice but i cant quite get your code to fit in with what i'm doing.. I really need to be able to generate each graph within the foreach loop (as the values for the graph change with each grid reference).
my @points; @points[1 .. 96] = (undef) x 96; foreach my $line (@grid) { # lots and lots of other code here that I dont want to c +hange. /^(\d{1,2})$/ and $points[$1] = 1; # this doesn't work for (my $i = 1; $i < @points; $i++) { $plot = plot_graph (\@temps, \@new); push @graph_links, $plot . ' '; } } my $graph_links = join ('', @graph_links); @graph_links = split (/\s+/, $graph_links); print qq(<P>Please click on a spot! <P>); print qq(<P><div align=center><img src=array.bmp border=0 usemap=#arra +y><map name=array><P>); print qq(<area href="http://biolarfs1/~khh103/cgi-bin/$graph_links[0]" + ALT="" shape="circle" coords="13,9,6">);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Working with values that dont exist
by broquaint (Abbot) on May 29, 2003 at 13:44 UTC | |
|
Re: Re: Re: Working with values that dont exist
by hangmanto (Monk) on May 29, 2003 at 12:40 UTC |