[MacPerl-AnyPerl] Fwd: RE: survey to excel

2002-03-11 Thread Teresa Raymond
Never mind, I finally got a decompressor that worked. >Date: Mon, 11 Mar 2002 19:25:30 -0600 >To: macperl-anyperl-perl.org >From: Teresa Raymond <[EMAIL PROTECTED]> >Subject: Fwd: RE: survey to excel >Cc: >Bcc: >X-Attachments: > >I can't untar this module - stuffit should but it ends up just an

[MacPerl-AnyPerl] Fwd: RE: survey to excel

2002-03-11 Thread Teresa Raymond
I can't untar this module - stuffit should but it ends up just an empty file. Could someone send me this file as a text file? or .pm preferrably file? Thanks in advance. > >You can try using the module "Spreadsheet-WriteExcel" I've seen this >create Excel spreadsheets on both Unix and Windows

Re: [MacPerl-AnyPerl] getting the correct sub

2002-03-11 Thread Keary Suska
on 3/11/02 3:05 AM, [EMAIL PROTECTED] purportedly said: > if i have a bunch of require's happening and all those > required files happen to use some of the same named subs. > how do i make sure my program uses exactly the one i want? > > in mod_perl it seemd straightforward but what do i do in a

Re: [MacPerl-AnyPerl] passing reference in eval

2002-03-11 Thread Bart Lateur
On Mon, 11 Mar 2002 17:56:41 +0800, allan wrote: >i need to (i think) pass a hash as a reference to a sub >routine for ultimately letting that sub return a string. >that sub is placed in another file which i require beforehand. >i know the hash is ok >i know i can pass an require plain scalars >b

Re: [MacPerl-AnyPerl] passing reference in eval

2002-03-11 Thread allan
thanks but i think that i found out my problem really is that i try to concatenate a function name: your code works but this doesn't: my $sub_routine = "function"; $out = eval($sub_routine . "_name('$selected', $flag, \\%lookup_menu)"); i want the same effect as if it were: $out = function_nam

[MacPerl-AnyPerl] getting the correct sub

2002-03-11 Thread allan
hi if i have a bunch of require's happening and all those required files happen to use some of the same named subs. how do i make sure my program uses exactly the one i want? in mod_perl it seemd straightforward but what do i do in a normal perl-program? mod_perl: my $dbh = Apache::somewhere::d

RE: [MacPerl-AnyPerl] passing reference in eval

2002-03-11 Thread Martin Moss
how about? my $string; eval { $string=&mysub(\%myhash); } > -Original Message- > From: allan [mailto:[EMAIL PROTECTED]] > Sent: Monday 11 March 2002 09:57 > To: macperl-anyperl > Subject: [MacPerl-AnyPerl] passing reference in eval > > > hi > > i need to (i think) pass a has

[MacPerl-AnyPerl] passing reference in eval

2002-03-11 Thread allan
hi i need to (i think) pass a hash as a reference to a sub routine for ultimately letting that sub return a string. that sub is placed in another file which i require beforehand. i know the hash is ok i know i can pass an require plain scalars but is it possible to pass a hash or any reference in