Copyright © tutorialspoint.com
Syntax
Definition and UsageResets (clears) all package variables starting with the letter range specified by EXPR. Generally only used within a continue block or at the end of a loop. If omitted, resets ?PATTERN? matches. Variables that have been declared using the my() function will not be reset. Using reset() can reset system variables you may not want to alter-like the ARGV and ENV variables. Return Value
ExampleTry out following example:
It will produce following results:
|
Copyright © tutorialspoint.com