Nafiseh, The first rule of optimisation is: "Don't talk about optimisation".
The second rule of optimisation is: "Don't talk about optimisation". The third rule of optimisation is: "Don't optimise". More seriously, if you're having to optimise your code to run faster, you probably shouldn't be writing it in Perl. If you choose to ignore that advice, here are some steps in the right direction: o The Camel Book "Programming Perl" (3rd Edition) by O'Reilly Associates has a section in the back about making Perl code faster, as far as I remember o Try profiling your Perl code to see where it slows down: Brian d Foy covers this in: http://www.ddj.com/columns/perl/2001/0104pl001/0104pl001.htm Uh. Before I go any futher I've found a webpage that offers the rest of my advice and some more: http://use.perl.org/askuseperl/01/10/25/1511218.shtml Anyhow, hope this helps. +PETE -- [EMAIL PROTECTED] ;;($_='Yw_xUabcdtefgdijktljkotiersjkUzxT yvlkbfdtcierstajogvPruntRshackRJelov')=~ y&/RTUv;wxYz$&/ ~'/;$=();$&&&eval&&print -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]