split //, $_
instead of matching
embrace it in parenthesis...no escaping neccessary...
split /()/, $_
At least I think that I am reading this book properlyh
--- Scot Robnett <[EMAIL PROTECTED]> wrote:
> I was wondering why this array that I am attempting to create at line
> 21
> seem
I think the escaping is still necessary in that case
Maybe something like this would be cleaner:
my @ary = split /qr{/}/, $_;
That would work unless I was trying to interpolate into the pattern, because
I set $/ = '' and read into memory in paragraph mode.
I believe that the solution you
I was wondering why this array that I am attempting to create at line 21
seems to be empty. If I want to put chunks separated by
into the array, how could I do this differently to make it work?
##
#!C:\Perl\bin\perl.exe -w
$/ =