[Chicago-talk] humbling question

Randal L. Schwartz merlyn at stonehenge.com
Wed Sep 19 08:50:26 PDT 2007


>>>>> "Richard" == Richard Reina <richard at rushlogistics.com> writes:

Richard> my ($emp_no, $f_name, $l_name, $ph);
Richard> $sth->execute();
Richard> $sth->bind_columns(\($emp_no, $f_name, $l_name, $ph);

As shown in one of my columns, I prefer not saying the same
thing twice, resulting in:

      $sth->bind_columns(\my($when, $wall, $bytes, $cpu))

Consider me lazy.  Consider me trying to be nice to the maintenance programmer.

See http://www.stonehenge.com/merlyn/LinuxMag/col36.html

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


More information about the Chicago-talk mailing list