> # send an email with @email_list > > # store to a database with @db_list > > Now your sub is generic, it doesn't rely on the specific names, @pics > and $website, and doesn't cause data to be printed when you might not > want it to. Obviously this is a contrived example but as things get > more complex it becomes absolutely critical. > > HTH, > > http://danconia.org#
Thanks. This is one of the most complete answers I have ever had and I really appreciate it. I will let you know how I get on. Gavin. -- Just getting into the best language ever... Fancy a [EMAIL PROTECTED] Just ask!!! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>