Date: Sun, 23 Sep 2001 11:47:58 GMT
From: laura_fairhead@my-deja.com (laura fairhead)
Subject: Re: extra newline in s command
Message-Id: <3badcb9a.154103084@news.cis.dfn.de>


[snip]

>>}
>>__DATA__
>>pattern1
>>pattern2
>>pattern3
>>
>>It looks like that works to me.
>
>Well it seemed to work just fine without the intermediate
>step. I don't really understand whats going on though.
>
>I had ended up using $` and $' and set $_ directly with;
>
>/(\d{4})/&& $1<=$#k && ($_=$`.$1.$');

Sorry, that was a typo;
/(\d{4})/&& $1<=$#k && ($_=$`.$k[$1].$');

-- 
: ${L:-aura} # http://lf.8k.com:80



