source:
vendor/perl/5.8.8/lib/shellwords.pl
| Last change on this file was 3181, checked in by , 19 years ago | |
|---|---|
| File size: 276 bytes | |
| Rev | Line | |
|---|---|---|
| [3181] | 1 | ;# shellwords.pl |
| 2 | ;# | |
| 3 | ;# Usage: | |
| 4 | ;# require 'shellwords.pl'; | |
| 5 | ;# @words = shellwords($line); | |
| 6 | ;# or | |
| 7 | ;# @words = shellwords(@lines); | |
| 8 | ;# or | |
| 9 | ;# @words = shellwords(); # defaults to $_ (and clobbers it) | |
| 10 | ||
| 11 | require Text::ParseWords; | |
| 12 | *shellwords = \&Text::ParseWords::old_shellwords; | |
| 13 | ||
| 14 | 1; |
Note:
See TracBrowser
for help on using the repository browser.
