If I was using one specific group of commands, Could I put them inside a variable, then just use the variable when I needed the commands instead of copying and pasting them?
i.e. print "Hello world"; if ($i == 50) { goto MAIN; } elsif ($t == 100) { goto SECONDARY; } as compared to $command = print "Hello world"; if ($i == 50) { goto MAIN; } elsif ($t == 100) { goto SECONDARY; }; Joel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>