On topic: The Wednesday Challenge

Robin Barker Robin.Barker at npl.co.uk
Wed Aug 15 16:30:49 BST 2007



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

More commonly a larger number, see perldoc perlvar $/; e.g.
	$/ = \1024 
causes input files to be read in fixed-length records of 1024 bytes.

$/=\1 should cause the input file to read byte-wise.

Robin


-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
                   Hook, Hampshire, United Kingdom  RG27 9UY
-------------------------------------------------------------------



More information about the london.pm mailing list