On topic: The Wednesday Challenge

Jonathan Stowe jns at gellyfish.com
Wed Aug 15 16:31:37 BST 2007


On Wed, 2007-08-15 at 16:09 +0100, Aidan Samuel wrote:

> 
> What's all this $/=\1 jazz? I've only seen \1 used in old regexes.

\1 in this context gives you a reference to the scalar "1", if you set
$/ to a reference to an integer then you are asking for fixed length
rather than delimited "records".

/J\
-- 
Established 1963


More information about the london.pm mailing list