sprintf help

2001-03-29 Thread bb
From Hermen suggestion I tried the following and now my head hurts on the front and back. Below are two sample one works the other does not. What am I missing beside my brains. Good: $fld1 = "3.3%"; $fld2 = "36.91%"; $fld3 = "4.08%"; $fld4 = "98.2%"; $bbrec =

RE: A simple SMTP client in Perl

2001-03-29 Thread Lee Goddard
I don't know why Radha can't join the list, I suspect you're right in that this and that is part of his problem. As I remember, I cut a little of the header on forwarding, part of which was a Lotus-inserted DOMAIN line, MITEL being the DOMAIN value. lee At 10:49 29/03/2001 -0500, Peter

Trying to automate the clearing of TIF

2001-03-29 Thread Tim Dumas
I am at a complete loss. I'm trying to automate clearing of the temporary internet files (some people in the office hear are completely incapable of doing it through IE directly). Anyway, I can't find anything on the IE object hierarchy and OLE to be able to get in there with a piece of perl

RE: How to Create A CPAN MIrror

2001-03-29 Thread Frank Novak
Title: RE: How to Create A CPAN MIrror You could check the FAQ :-) http://www.cpan.org/misc/cpan-faq.html#How_mirror_CPAN

RE: sprintf help

2001-03-29 Thread Joseph P. Discenza
[EMAIL PROTECTED] wrote, on Thursday, March 29, 2001 12:12 : $bbrec = : .sprintf("%05.02f\%|",$bbarray{key}[0]).sprintf("$05.02f\%|",$bba : rray{key}[1 : ]); Here $bbarray{key} tells me that bbarray is actually a hash, %bbarray. : The original data was in array called theList so I copy the

Multithreaded Apps on Win32?

2001-03-29 Thread Kirk Rogers
Hi folks, I just started looking into the multithreaded capabilities (as limited as they are documented) and discovered on my first basic attempt, that Threads are not supported? Hmmm, here's the output: On an NT 2000 Server I get... Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright

RE: Multithreaded Apps on Win32?

2001-03-29 Thread Jesse Sookne
In perl 5.6, threads are implemented via the fork() emulation. Read perldoc perlfork for more info. The Thread module was used in previous versions, and is not compatible with 5.6. -Jesse -Original Message- From: Kirk Rogers [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001

Test mail .....

2001-03-29 Thread Radha_Subrahmanyan
___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Re: detailed documentation for modules

2001-03-29 Thread Jeremy Blonde
IBM DeveloperWorks has some articles on XML parsing, I believe. I don't know how detailed they are (you may be looking for some heavier reading), but I thought I'd pass along the info. jb From: "TECKIES.COM Online Magazine" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: detailed

Re: Regex Help

2001-03-29 Thread Carl Jolley
How about this as a regex: ($root,$file,ext)=$path=~/^([-_\w]+[\\/])+([^.]+)\.(.+)$/; [EMAIL PROTECTED] Carl Jolley All opinions are my own and not necessarily those of my employer On Tue, 27 Mar 2001, Dirk Bremer wrote: I would like something without the overhead of a module.

Re: Print on Closed Filehandle?

2001-03-29 Thread Carl Jolley
On Wed, 28 Mar 2001, Lee Goddard wrote: If I get a mo, I'll send some code to the list; it's long gone now. But it wasn't anything really: I opened a file, and on the next line just printed to nowhere specific, assuming it'd go to STDOUT. It generated the error weird, and probably

Re: Replacing characters in a string

2001-03-29 Thread Carl Jolley
On Thu, 29 Mar 2001, MOTTER, JEFFREY D. (SBMS) wrote: I have a string that was read from a file( in BINMODE ). After I read from the file, I store the string in a variable called $line. Right after that, I do a substitution to get rid of any leading characters that are hex 00( "\x00" )

*Q* How to embed C functions so they are usable by Perl programs?

2001-03-29 Thread jsdrape5
Hi, There are some C functions in a C lib I would like to call from a Perl program. How do I link the C lib into my Perl. There is a small section on Embedding C in Perl on p 371 of "Programming Perl" 2nd Ed, mentioning DynaLoader, but does not give any specifics for a novice on this topic

prn to txt

2001-03-29 Thread Peter Eisengrein
Anyone know of a module or script that can convert a .prn (printer) file to a .txt file? ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Re: prn to txt

2001-03-29 Thread Ted Zeng
I think .prn is a Postscript file which is a text file. Try to change the extension to .txt to see if it works. Ted Zeng Peter Eisengrein wrote: Anyone know of a module or script that can convert a .prn (printer) file to a .txt file? ___

RE: *Q* How to embed C functions so they are usable by Perl programs?

2001-03-29 Thread Bill Odom
John ([EMAIL PROTECTED]) said: There are some C functions in a C lib I would like to call from a Perl program. A few months ago I would have recommended you learn all about XS, or possibly SWIG. However, there's a fairly new module called "Inline.pm" that's really cool. Read with this

Re: List References

2001-03-29 Thread Dirk Bremer
$Bill, Your example will show the first occurrence in the second dimension, but how do you iterate through all of the occurrences in the second dimension? I envisioned using a second for loop inside the first for loop, but don't know what to iterate on, i.e. foreach my $v1 (@array) {

RE: prn to txt

2001-03-29 Thread Peter Eisengrein
Sorry if I was being vague. I can open it with notepad but there is gobs of control stuff in there (I am guessing 60% of it is control info). The control info is not necessarily just "non-keyboard" characters. Here's a snippet of what it looks like: *p798XC7GQ04183*p1442XT1*p1911X