Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] [perl] my $problem = "Can't figure out conditionals and writes" [/perl]



[perl]
// Let's get to my first problem
      $CurrentProblem = 1;
// I'm not sure this variable gets set the way I think it does
// (i.e. for use in later perl islands)
[/perl]
 
 
. . . HTML & minivend (interchange 4.5.5) tags, &tc . . .
 
 
[loop search . . .]
 
[perl]
// On to the next problem
     $CurrentProblem++;
// I can't seem to get conditionals to evaluate, based on
// the initialization from the first perl island, and subsequent
// autoincrementations. . .
     if ($CurrentProblem == "3") {
           $Document->write("Let's a special message for the third loop only. . .");
     }
 
// The idea is to print 3 columns of thumnails on each row
// until the query runs out of records.  Unfortunately, my
// code does NOT accomplish this.  I'm sure I'm missing
// something silly.
// Thanks in advance.
 
$author = "Zack"
 
[/perl]
 
. . . more HTML and mvTags
 
[/loop]

Search for: Match: Format: Sort by: