On Thu, Apr 12, 2007 at 10:22:52AM -0600, Doug McNutt wrote: > $/ = "\r"; #Mac > $/ = "\r\n"; #DOS or Internet > $/ = "\n"; #UNIX the default > $/ = ""; #Deliberately read the whole file. Sometimes undef $/;
Careful, $/ = "" and undef $/ do different things. undef $/ (or $/ = undef) is slurp mode, reading the whole file at once. $/ = "" is paragraph mode, reading a block ending with one or more blank lines. Ronald -- ------------------------------------------------------------------------ Have a feature request? Not sure the software's working correctly? If so, please send mail to <[EMAIL PROTECTED]>, not to the list. List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml> List archives: <http://www.listsearch.com/bbeditscripting.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
