I try to upload a csv file to access database using perl DBI. But keep
failing.
The* number* and *type* of the field in csv file are not fixed. Might be
integer or character.
( I was able to make it if they are fixed)
---start of code
#connect t
Hi. I found the problem! (Took me an hour. > _<)
Instead of
*my $condition = ' FIELD1=A ';
*I should write
*my $condition = " FIELD1= ' A ' ";
*
Thanks,
Tiffany
Hi,
I need help with Perl DBI. I try to fetch the table from Microsoft access
database.
I want to return the whole table under the condition "FIELD1=A".
The following is my code.
my $db= "C:\\Users\\yushanwa\\Desktop\\DATABASE.accdb";
my $DSN = "DRIVER={Microsoft Access Driver (*.
I am trying to create a “Help” document using Perl. I have a GUI and made
a dropdown menu with “Help” option. I am hoping to create a new window and
have a something like a dirtree so that user can select the topic. Once it
is selected, the window will display the guidance. (Just like the Help
bu
an awesome module, but sometimes its easier to
> convert the file to CSV using excel and then its just text and its a lot
> easier to manipulate.
>
> - Jose from Mexico
>
> On Wed, May 30, 2012 at 3:53 PM, Yu-Shan Wang wrote:
>
>> Hi
>>
>> Can I ask a quick
Hi
Can I ask a quick question?
My perl version is 5.8.3
I couldn't find Spreadsheet::XLSX from ppm3
I search online. It seems that my version is too old to support this
module. Is it correct?
If so, is there other ways to parse *xlsm* file using perl v5.8.3
Thank you very much
-Tiffany
On Mon,
==
I need by below
use Convert::Binary:C;
$c = Convert::Binary::C->new;
binmode(S);
my $c = Convert::Binary::C->new->parse(< 3,*ver => "asd",};# it gives error
$binary = $c->pack('R', $data);
print S $binary;
Thank u for your quick reply.
How to install following module.or How to install following module in
my
system.I'm working in WINDOWS NT.
Convert::Binary::C;Thanks and Regards,Shan
BTW, it's perl or Perl, but never PERL.
I am guessing your new to this list because your making a
Hi All,
How to install following module.or How to install following module in my
system.I'm working in WINDOWS NT.
Convert::Binary::C;Thanks and Regards,Shan
--
DISCLAIMER:
This message and any attachments are solely for the intended recipient
and may contain confidential or privi
Hi All,
Help me to pack the string to pointer.
Ex.
$d="sdfgg";
$pack=pack("P",$d);
What above code represents?
Thanks and Regards,
Shan
--
DISCLAIMER:
This message and any attachments are solely for the intended recipient
and may contain confidential or privileged informa
Using the following program, I managed to send a message with an attachment to
multiple recipients using option 2, but not with options 1 and 3:
>>
use Mail::Sender;
$address1 = '[EMAIL PROTECTED]';
$address2 = '[EMAIL PROTECTED]';
#$recipients
I was trying to use the Term::ReadKey module as follows:
use Term::ReadKey;
ReadMode ('noecho');
$password = ReadLine(0);
but got the following:
Can't locate Configure.pm in @INC (@INC contains: n:
Can anyone point me to an example of how to use the above module? The ActiveState
documentation is, to say the least, cryptic. I looked at "The PERL Cookbook", "PERL
Programming", and also tried using PERLDOC, but did not come up with anything.
Some of my questions are:
1. How should the inpu
nson" <[EMAIL PROTECTED]>
To: "'Kipp, James'" <[EMAIL PROTECTED]>; "'Tin-Shan Chau'"
<[EMAIL PROTECTED]>; "'Help on PERL'" <[EMAIL PROTECTED]>
Sent: Monday, November 11, 2002 12:26 PM
Subject: RE: Sending mail unde
I have been trying to get the sample program in the ActiveState documentation to work,
but without much success. Here is the code:
>>>
use Net::SMTP;
$smtp = Net::SMTP->new('shaw.ca'); # connect to an SMTP server
$smtp->mai
Does anyone know how to test for a hidden or system file under Windows 95/2000?
Thanks in advance for your help.
I have a module as follows:
>>>
package Test;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(print_name print_test);
sub print_test() {
print "test\n";
}
sub print_name() {
my $file = shift;
print "$file\n";
}
I have run into the following problem with UNPACK: If I concatenate the packed values
of a list to a string, when I use the unpack operation to put the values back into an
array, the last element is missing. I can only get around the problem by specifying
the exact number of elements to unpac
I have run into the following problem: If I concatenate the packed values of a list to
a string, when I use the unpack operation to put the values back into an array, the
last element is missing. I can only get around the problem by specifying the exact
number of elements to unpack. And if I
I have run into the following problem: If I concatenate the packed values of a list to
a string, when I use the unpack operation to put the values back into an array, the
last element is missing. I can only get around the problem by specifying the exact
number of elements to unpack. And if I
20 matches
Mail list logo