Phython?

2000-05-30 Thread Scott K Purcell
Hello, I was just curious, as I keep reading all the latest posts, and notice the Python name all over the new ActiveState pages. But anyway what is Phython, and where could I find out what it is, and if it would be useful to me? Thanks Scott --- You are currently subscribed to perl-win32-user

GDBM Install Question

2000-05-25 Thread Scott K Purcell
Hello, I want to use the GDBM_File module, and need some more help. I went through the ActiveState Archives and found a link to a roth site, in an email. http://www.roth.net/perl/GDBM_File.htm So I went and downloaded the module. After I extracted it with WinZip, (I can't use PPM because of our

File IO vs DBM

2000-05-25 Thread Scott K Purcell
Hello, Question: I have just a small amount of state information I need to store for a new site I am creating. Most sites I have done require either a relational DB backend, but this site has a minimal amount of data. It will actually be a hash array, and involves less than 150 keys. So in my

Win32::OLE Question

2000-05-19 Thread Scott K Purcell
yString("addressto") %> <% Set Mailer = Server.CreateObject("SMTPsvg.Mailer") rem change this RemoteHost to a valid SMTP address before testing Mailer.RemoteHost = "208.238.162.123" Mailer.FromName= "Scott K Purcell" Mailer.FromAddress = "

Aspmail Question Basic

2000-05-19 Thread Scott K Purcell
OK, I am still hacking with this ASPMail COM object. Anyway, I dug hard into the OLE information, and figured I would walk step by step. So I figured I would start with the basics here, and dig a little deeper as I went. So I wrote this, and I get the ooops, so this is not working. But if I ch

Help With ASPMail In Perl

2000-05-19 Thread Scott K Purcell
Hello, I hate to ask, but I was given a mission outside of my knowledge arena. I am working with a customer, who has ASPMail installed on their webserver. I am writing a website for them, and prefer to use Blat or a Perl module, but they want to use the ASPMail COM object. ... so I could use som

Benchmark question

2000-05-18 Thread Scott K Purcell
Hello, I was wondering if there is a speed difference between using IO::File versus a standard opening of a file with a filehandle. Then I thought that there is a benchmark module (which I have never used) and was wondering if it is possible to use the benchmark module and benchmark IO::File o

Re: Database selection issue!!

2000-05-17 Thread Scott K Purcell
For that many records, and since it is a web site, I would seriously consider just using a DBM if the data is suited for that. (Basically key value pairs, or possibly arrays of hashes, etc.). But if your data is more complicated you may need to have a Relational or Object Database. But the adv

Recommend Training Company

2000-05-15 Thread Scott K Purcell
Hello, I am interested in taking my Perl skills to the next level, (hopefully to get a handle on modules), and got it cleared through my office to get this done. I have visited the Stonehenge site, and also Randals site about classes, but it looks like they prefer to do on-site, and pretty cost

Re: HTML::Base

2000-05-12 Thread Scott K Purcell
I didn't know you could use the cpan site for ActiveState Perl? I thought that the cpan site was for Unix users. Anyway, if that is OK and will work on my ActiveState Perl build, I am happy, Thanks Scott --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe,

HTML::Base

2000-05-12 Thread Scott K Purcell
Hello And Happy Friday, I was curious, has anyone ever heard of a module called HTML::Base? I found some code that uses it, and was wondering where I could find the module? I looked on ActiveState, but did not see it there.? Maybe its packaged under a different name? Thanks Scott --- You are

TK Canvas Problem

2000-05-10 Thread Scott K Purcell
Hello, I am trying to learn some TK on the side here, and have a canvas error I can't figure out. This comes straight out of the "Advanced Perl Programming" book. page 231 and 232. Since 231 is very simple, I will include it here and page 232 below in case someone wants to try and run these.

Assistance With Net::SMTP V2

2000-05-09 Thread Scott K Purcell
Hello, I am considering using the Net::SMTP module. I did the examples in the POD, and can send a email to myself. Except for I can't figure out how to get a "subject line", or a "proper from line" or even an attachment. Anyway, the documentation is vague (at least to myself.). So anyway, I s

Mail Question

2000-05-08 Thread Scott K Purcell
Hello, I have a question in regards to options with sending email. Anyway, I am running my Perl 5 on a NT server, and the Mail server is an NT machine with a different IP address. So when I started work here, the person before me had used Blat. He would push together a string of arguments into

Open File Question

2000-05-08 Thread Scott K Purcell
Hello, I have been opening files like this for a year now, # open (INFILE, " or >> from it? Thanks Scott --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send ema

Excel File Help Please

2000-05-05 Thread Scott K Purcell
Hello, I was just handed an "excel" file, and was told to parse it. I have never used any of the Ole stuff, and I don't know if I should use that, or just treat it as a "flat file".? I am for the most part a web guy. Anyway, the file looks like (eg of 4 lines out of about 1000 lines). dept nu

Case Statement?

2000-05-04 Thread Scott K Purcell
hello, I am sorry to ask, but I can't seem to find this kind of statement in my book or in the documentation. $text = defined($ARGV[0]) ? $ARGV[0] : "Hello world"; PS, the end makes sense, that if there is a $ARGV[0] being passed to use it, and if not use the "hello world", but what is that de

Re: leading and trailing spaces

2000-05-04 Thread Scott K Purcell
My preferred method of removing either leading or trailing white space for efficiency is like this: my $fish for ($fish) { s/^\s+//; s/\s+$//; } # if you have two vars for ($fish, $mamal) { s/^\s+//; s/\s+$//; } just my two cents. See the perlsyn manpage for additional info. Scott

grep question

2000-05-03 Thread Scott K Purcell
Hello, I have been using the next line grep for quite some time, to delete files from a directory, and not delete the system dot files (or whatever they are). my @allfiles = grep !/^\.\.?$/, @allfiles; That works well. Can I use the same grep philosophy to skip two files? eg. @allfiles = grep !

DB_File Headache

2000-05-02 Thread Scott K Purcell
Hello, I don't know what is going on, but what is so simple is giving me fits. I have the following code (below) which already has data in it, so I am tying my hash then verifying that there is stuff, (first print statement), then I am inserting a new record $SN{'fish'} = "frog"; and it does n

Hash Q

2000-05-02 Thread Scott K Purcell
Hello, I have a hash whose keys are organized by the values. eg. %hash = ( 'apple' => '1', 'peach' => '2', 'pear' => '3', 'plum' => '4', ); And all is good. But now, if I delete an item, lets say 'peach', I need some way to move the values up and keep the order, just min

Win32 Install Help

2000-05-02 Thread Scott K Purcell
Hello, I asked a question this morning as to where I could find the Win32:GUI, and I got two good answers showing it is on Jendra Mccanns site. Anyway, I am not having any luck getting it to install. First of all I do have PPM, but we have some firewalls that I can't get through, so that is ou

Where to find Win32:GUI?

2000-05-02 Thread Scott K Purcell
Hello, I have some code I am trying to run and I am getting the following Can't locate Win32/GUI.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib . So I went to http://www.activestate.com/ppmpackages/5.005/zips/ But I do not see any Win32-GUI So is it in another package? If someone kn

Excel Q

2000-05-01 Thread Scott K Purcell
Hello If I have an excel file, and I need to extract certain data from it to produce a report, what is the best way via Perl to accomplish this mission? Thanks SKP --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL