Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. Perl Regular Expressions > Function That Releases Memory Used by a R...

Function That Releases Memory Used by a Regular Expression

Function:CALL PRXFREE
Purpose:To free resources that were allocated to a Perl regular expression (usually used with a test for end-of-file). If you do not call PRXFREE, the resources used will be freed when the DATA step ends.
Syntax:CALL PRXFREE (pattern-id)
 pattern-id is the value returned from the PRXPARSE function.


Examples

For this example, the statement PATTERN = PRXPARSE ("/\d/" ) preceded the call to PRXFREE.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial