No subject


Thu Apr 12 13:55:04 PDT 2007


	# split on both \r and \n
	# This caters for unix format (\n), DOS format (\r\n)
	# and mac format (\r) files
	# It also obviates the need to strip trailing \n or \r
	# from the end of lines
>	LINE: for my $line (split('[\n\r]', $$text)) {


-- 
oreillymj
------------------------------------------------------------------------
oreillymj's Profile: http://forums.slimdevices.com/member.php?userid=699
View this thread: http://forums.slimdevices.com/showthread.php?t=47317



More information about the beta mailing list