<head></head><body><div><br>Sorry for my mistake.<br>It means you should insert datas from this $location.<br><br><blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 0px;">-----Original Message-----
<br>From: Jim Zhang <jim.zhang.china@gmail.com>
<br>Sent: Jan 30, 2007 1:11 AM
<br>To: china-pm@pm.org
<br>Subject: Re: [PerlChina] China-pm Digest, Vol 21, Issue 3

<br><br>please clarify your meaning:<br><br>&amp;export_to_excel($filename, $location, \@data_array);<br><br>$location is, for example, "B2",which means&nbsp;&nbsp;Column B, Row 2.<br>@data_array looks like:<br>@AoA = (<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ "fred", "barney" ],
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ "george", "jane", "elroy" ],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ "homer", "marge", "bart" ],<br>&nbsp;&nbsp;&nbsp;&nbsp;);<br><br>insert all the data in @AoA=() into "ColumnB, Row2" or insert "fred" in B2, "barney" in B3, or others?
<br><br></jim.zhang.china@gmail.com><div><span class="gmail_quote">2007/1/30, <a href="mailto:china-pm-request@pm.org">china-pm-request@pm.org</a> &lt;<a href="mailto:china-pm-request@pm.org">china-pm-request@pm.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send China-pm mailing list submissions to<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:china-pm@pm.org">china-pm@pm.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://mail.pm.org/mailman/listinfo/china-pm">
http://mail.pm.org/mailman/listinfo/china-pm</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:china-pm-request@pm.org">china-pm-request@pm.org</a><br><br>You can reach the person managing the list at
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:china-pm-owner@pm.org">china-pm-owner@pm.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of China-pm digest..."<br><br><br>Today's Topics:
<br><br>&nbsp;&nbsp; 1.&nbsp;&nbsp;Want to get a module (Jeff Pang)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 29 Jan 2007 21:41:50 +0800 (GMT+08:00)<br>From: Jeff Pang &lt;
<a href="mailto:pangj@earthlink.net">pangj@earthlink.net</a>&gt;<br>Subject: [PerlChina] Want to get a module<br>To: PerlList-China&nbsp;&nbsp;&lt;<a href="mailto:china-pm@pm.org">china-pm@pm.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;
<a href="mailto:14734423.1170078110884.JavaMail.root@elwamui-huard.atl.sa.earthlink.net">14734423.1170078110884.JavaMail.root@elwamui-huard.atl.sa.earthlink.net</a>&gt;<br><br>Content-Type: text/plain; charset=UTF-8<br><br>
Hello,<br><br>One of my friends asked the helps from me and hope I could write a Perl module for handling Excel file for him.<br><br>He would like to call the module's function like this:<br><br>&amp;export_to_excel($filename, $location, \@data_array);
<br><br>$location is, for example, "B2",which means&nbsp;&nbsp;Column B, Row 2.<br>@data_array looks like:<br>@AoA = (<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ "fred", "barney" ],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ "george", "jane", "elroy" ],
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ "homer", "marge", "bart" ],<br>&nbsp;&nbsp;&nbsp;&nbsp;);<br><br>I'm not familiar with Windows and Excel at all.So I ask the helps here.I'd like to pay RMB 100 for the function.<br>I think if there is some a guy who is familiar with them,he could spend about 1 hour to finish it.
<br>Anyone who is interested in it,please contact with me.<br><br>Thanks!<br><br><br>--<br>Books below translated by me to Chinese.<br>Practical mod_perl: <a href="http://home.earthlink.net/%7Epangj/mod_perl/">http://home.earthlink.net/~pangj/mod_perl/
</a><br>Squid the Definitive Guide: <a href="http://home.earthlink.net/%7Epangj/squid/">http://home.earthlink.net/~pangj/squid/</a><br><br><br>------------------------------<br><br>_______________________________________________
<br>China-pm mailing list<br><a href="mailto:China-pm@pm.org">China-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/china-pm">http://mail.pm.org/mailman/listinfo/china-pm</a><br><br>End of China-pm Digest, Vol 21, Issue 3
<br>***************************************<br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br><br>Jim Zhang
</blockquote></div></body><PRE>

--
Books below translated by me to Chinese.
Practical mod_perl: http://home.earthlink.net/~pangj/mod_perl/
Squid the Definitive Guide: http://home.earthlink.net/~pangj/squid/</PRE>