$foo = "a string"; { local( $foo = "localised" ); print $foo,$/; } print $foo,$/; __output__ localised localised