Re: Can anyone help me??

2000-12-29 Thread Cassell . David
Rob wrote: > Simplest method that I've seen for rounding a number ( $number ) is: > > my $number = 75.3; > my $rounded_number = int ($number + 0.5); Simple?  Perhaps, although not much shorter than using [s]printf. Correct?  Maybe not. First, it does not meet the IEEE standard for proper roundin

Re: Ctrl Z

2000-12-29 Thread Will W
Look into "binmode". It may do what you want: open IN, $somefile; binmode(IN); --Will - Original Message - From: Raza, Askari (GXS) <[EMAIL PROTECTED]> To: 'Perl-win32-users Mailing List' <[EMAIL PROTECTED]> Sent: Friday, December 29, 2000 8:15 AM Subject: Ctrl Z > I'm

Ctrl Z

2000-12-29 Thread Raza, Askari (GXS)
I'm reading a text file in Perl that has a ctrl Z in several places inside of that text file. Since ctrl Z means "end of file," Perl only reads up to that ctrl Z. Is there a way for me to work around this problem. Thanks in advance! Askari R. ___ P

Re: Module question

2000-12-29 Thread SCOTT_SISSON
Thanks to all for their suggestions. I'd rather use an existing function than something I wrote. Is File::Slurp the best option for appending files ??. How will it work with large files, it that a machine memory limitation since it needs the file to be in @array? Or does @r = cache to disk if

PDL and gimp packages for Perl?

2000-12-29 Thread Richard Graham
Now that GIMP is available (and extremely useful) for Windows platforms, wouldn't it be great if the Perl packages were available so that you could gimp from perl, or Perl/Script-Fu in GIMP? The two obvious packages that would be needed are PDL and gimp, however there are several optional builds

Re: Can anyone help me??

2000-12-29 Thread Brian Gibson
You are not being a pill, I enjoy learning what is considered the proper way to do certain tasks, thanks for the input.   I had never known about perldoc -q and it looks like a useful tool.   Thanks, briang         - Original Message - From: [EMAIL PROTECTE