Perl Regular expressions (OT)
| From: | Ben Wiechman | Date: | Thu, 04 Jan 2001 17:39:37 +0000 |
| Subject: | Perl Regular expressions (OT) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32670@lists.php.net to get a copy of this message | ||
Anyone have any idea what this is doing?
while (<FILE>) {
next unless s/^(.*?) = \s*//;
$words{$1} = [ split ];
}
What is that [ split ] construct? Has anyone seen that before? I can
understand the rest, but [ split ]?
Ben