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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loop from the list

Status
Not open for further replies.

peac3

Technical User
Jan 17, 2009
226
AU
Hi guys,

just wondering whether you guys have any idea to loop from the list I have example like below :

@username = ('a','b')

Is there anyway to make the @username list become array1, array2 like other programming?

I know I can put them into table first but I dont wanna do it.
 
I think I need put additional information on this,

like I want to create user based on this list.

@username = ('a','b')

Create user 'a' with login 'a'
Create user 'b' with login 'b'

Thanks guys,
 
Perhaps you can show us your data and what you are trying to do...

Simi

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top