Regular expression in Perl
Write a simple (common) regular expression to match an IP address, e-mail address, city-state-zipcode combination.
Explain the difference between “my” and “local” variable scope declarations. ?
The variables which is declared with my() in perl are visible only within the scope of the block which names them. They are not visible outside of this block, not even in routines or blocks that it calls. local() variables, on the other hand, are visible to routines that are called from the block where they are declared. Neither is visible after the end (the final closing curly brace) of the block at all.
