home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


quotewords

quotewords (

delim

, 

keep

, 

lines

)

Accepts delimiter and list of lines and breaks the lines up at occurrences of the delimiter into a list of words. Exported by default. Takes the following arguments:

delim

Delimiter, which can be a regular expression. Occurrences inside quotes are ignored.

keep

Boolean. If false, quotes and single backslashes are removed from the list of words returned, and a double backslash is returned as a single backslash. If true, quotes and backslashes are retained.

lines

The list of lines to be parsed.


Previous: 8.144 Text::ParseWords Perl in a Nutshell Next: Reference: old_shellwords
8.144 Text::ParseWords Book Index Reference: old_shellwords

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.