Think about Loose Coupling | |
PerlMonks |
Re: split questionby allolex (Curate) |
on Jan 30, 2004 at 22:41 UTC ( [id://325432]=note: print w/replies, xml ) | Need Help?? |
The pattern is a regular expression pattern. ;) split /\|/, $line;have a look at perldoc -f split (split) and perlre.
-- Update Sat Jan 31 05:05:13 2004: Added slashes. I saw that particular syntax on comp.lang.perl.misc, and just assumed that it would work (mea maxima culpa).
In Section
Seekers of Perl Wisdom
|
|