Re: [MacPerl] Perl Scope problem

2001-05-02 Thread hciR nellA
think this will work ... use strict; my ($cust_data) = {}; my ($condition, $condition2); while ($condition) { #... $cust_data = get_cust_data(); if ($condition2) { if (send_mail($cust_data)) { print $cust_data->{'customer'}; # ... } }

Re: [MacPerl] ends of lines in files

2001-05-06 Thread hciR nellA
from chapter 4 in MacPerl & Ease Computers use certain characters - usually invisible - to represent line breaks. Mac OS uses the octal character \015for line breaks (sometimes called carriage return, or CR). Unix uses \012(line feed, or LF). DOS and Windows use the sequence \015\012. (Aren't sta