Perl study Function



Description

This function takes extra time to study EXPR in order to improve the performance on regular expressions conducted on EXPR. If EXPR is omitted, uses $_. The actual speed gains may be very small, depending on the number of times you expect to search the string.

You can only study one expression or scalar at any one time.

Syntax

Following is the simple syntax for this function −

study EXPR

study

Return Value

This function does not return any value.

perl_function_references.htm
Advertisements