in reply to Dealing with split
Updated as per GrandFather's correction.my $foo = 'c:\temp\source\test\test.c@@main\com\etc c:\temp\source\tes +t\test1.c@@main\com\test c:\temp\source\test\test3\test2.c@@main\com\ +etc\test'; my @bits = split /\@\@.*?(?: c:\\temp|$)/, $foo; print "$_\n" for @bits;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dealing with split
by GrandFather (Saint) on Feb 22, 2006 at 22:33 UTC | |
by perl_99_monk (Novice) on Feb 22, 2006 at 22:58 UTC |