I have managed to get the sprintf statement to show the 00 on the right
side, but still having trouble with the zero's dropping out on the left side
of the decimal place, i.e. you have 250.00 it comes out 25.00, 500.00 comes
out as 5.00. I'm at a loss what to do. I've been reading and there's
$RECNUM = 0;
$RECCOUNT = 0;
while(! $RS-EOF) {
for ( $i = 0; $i $Count; $i++ )
{
$tmp = $RS-Fields($i)-value;
$tmp =~ s/\s+$//; # trim trailing white space
$amt = $tmp;
# No datachecking here! To
I ran into a similar problem with a script developed for Word97 that
started recieving input from Word2000 users. It is the unicode problem.
My inelegant work-around was to slurp each file in binmode, blow off all
the nulls, write it back upon itself, then open it again with the old
code. This
Kathy Wilson wrote:
When last I wrote, I was having trouble with all the zero's dropping out
when going from Service Pack 3 to Service Pack 6 on an Windows NT pc.
I have managed to get the sprintf statement to show the 00 on the right
side, but still having trouble with the zero's
On Wed, 11 Apr 2001, $Bill Luebkert wrote:
Fabio Quintão (Perl++) wrote:
Hi all,
i'm doing a perl script and i have problems with that.its easy for
almost all of you to answer that.i have 2 lists like
@a= (1,2,3,4,5);
@b = (1,2,6,7,89);
Inline.pm from CPAN
Hi,
Using PPM, I didn't locate this module at AS or Jenda, so I
took a stab at installing it from CPAN using nmake, etc.
Using Perl build 517 on Win95 Osr2 with no problems
I extracted the archive to c:\temp and then went through
the usual steps:
perl makefile.pl
Success, my bad.
nmake install--- worked
Thanks anyway,
Mark
-Original Message-
From: Mark Pryor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Date: Thursday, April 12, 2001 7:34 PM
Subject: Inline.pm from CPAN
Inline.pm from CPAN
Hi,
Using PPM, I didn't
Using PPM, I didn't locate this module at AS or Jenda, so I
took a stab at installing it from CPAN using nmake, etc.
Locating at,
www.ActiveState.com - /PPMPackages/5.6plus/
http://www.ActiveState.com/PPMPackages/5.6plus/
--
[EMAIL PROTECTED]
In message