Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Reusing a variable declared earlier in the same scope

by Thilosophy (Curate)
on Apr 11, 2008 at 03:44 UTC ( [id://679615]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $rows = $GetAssignmentID_sth->rows;
      if($rows > 0) {
    ...
              push(@AssignmentIDs, $AssignmentID);
        }
      }
    
  2. or download this
    while (my ($AssignmentID, $UserCount) = $GetAssignmentID_sth-> fetchro
    +w_array() )  {
         push(@AssignmentIDs, $AssignmentID);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://679615]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2024-04-24 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found