I know this foreach loop works (I included print statement within it and it printed out results perfectly). However, for some reason the script doesn't continue after the loop. Am I missing something really obvious?(the print "text here" just doesn't happen?) Thanks. Mariusz
#!/usr/bin/perl -W use CGI ':standard'; print "Content-type:text/html\n\n"; @names = param(); foreach $name (@names) { $$name = param($name); } print "text here"; exit;