On Feb 1, mb said: >I 'm asking if there a dynamic way to generate variable names.
Yes, and you don't want it. >foreach(@_){ > my($var1 ----> in the second time my($var2 -----> my($varn Why not use an array? my $i = 0; my @data; foreach (@_) { # work with $data[$i] # and when you're done... $i++; } or some other array-oriented approach. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]