Re: passing hashes to subs

2003-08-17 Thread David T-G
Jeff, et al -- ...and then Jeff 'japhy' Pinyan said... % % On Aug 17, David T-G said: % % >% > 45 my $body = % >% > 46 &parseit ... % >% % >% First, you can drop the & on the function call. It's not necessary. % > % >Interesting. I thought it was a good thing for clarification.

Re: passing hashes to subs

2003-08-17 Thread Jeff 'japhy' Pinyan
On Aug 17, David T-G said: >% > 45 my $body = >% > 46 &parseit >% > 47 ( >% > 48 {ASCII=>$ascii,HTML=>$html}, >% > 49 {flag=>$flag,EMAIL=>$email,NAME_FIRST=>$fn,NAME_LAST=>$ln} >% > 50 ) ; >% >% First, you can drop the & on the function call. It's

Re: passing hashes to subs

2003-08-17 Thread David T-G
James, et al -- ...and then James Edward Gray II said... % % On Sunday, August 17, 2003, at 06:15 AM, David T-G wrote: % ... % > 46 &parseit % > 47 ( % > 48 {ASCII=>$ascii,HTML=>$html}, % > 49 % >{flag=>$flag,EMAIL=>$email,NAME_FIRST=>$fn,NAME_LAST=>$ln} % >

Re: passing hashes to subs

2003-08-17 Thread David T-G
Jeff, et al -- ...and then Jeff 'japhy' Pinyan said... % % On Aug 17, David T-G said: % % >I've gotten rusty and so I'm back again as a rank amateur :-) % % That's not very professional of you. ;) No, it isn't :-) There isn't much call for perl when hanging sheet rock or cleaning basements, t

Re: passing hashes to subs

2003-08-17 Thread James Edward Gray II
On Sunday, August 17, 2003, at 06:15 AM, David T-G wrote: Hi, all -- Howdy. I've gotten rusty and so I'm back again as a rank amateur :-) I have a script that will make a database connection, pull out some rows, repeatedly generate personalized message bodies, and send those bodies. I'm stuck

Re: passing hashes to subs

2003-08-17 Thread Jeff 'japhy' Pinyan
On Aug 17, David T-G said: >I've gotten rusty and so I'm back again as a rank amateur :-) That's not very professional of you. ;) > 45 my $body = > 46 &parseit > 47 ( > 48 {ASCII=>$ascii,HTML=>$html}, > 49 {flag=>$flag,EMAIL=>$email,NAME_FIRST=>$fn,NAME_