installing CPAN modules with ActivePerl

2001-02-12 Thread Bennett Haselton
What is standard procedure for ActivePerl users to install a module from CPAN, if the module doesn't come with a .ppd file? I have ActivePerl build 623 of perl 5.6.0, on Windows 98. Sometimes you can just download the .gz file from CPAN, extract it, and copy the relevant directories into your @I

Re: Sending mail (Sorry for the long post)

2001-02-12 Thread Benjamin Wheeler
Whenever you reference an argument for a hash, you should put single quotes around the argument unless the argument is a variable. So, you should say $variables{'email'} = param('email'); You should be getting all kinds of syntax errors every time you run this script. At 10:58 PM 2/12/01 -0500,

Re: Sending Mail

2001-02-12 Thread Sisyphus
Hi Ted, Do they have a members newsgroup ? That might be the quickest way to find the answer. Are you required to open a pipe to their mail sending program ? If so, does that 'open' call have the 'or die "$!";' option ? I would expect that all info you require (including the name of their smtp ser

Re: newbie alphanumeric counter

2001-02-12 Thread Mark Meyer
>> Howdy, to test control panel displays I wanted to make a alphanumeric counter, eg I want to count from 1 to z using both upper and lower case. << hi.. i am sort of confused as to what you are doing... wouldn't it be better to just work through your loop and then map the look counter back t

Sending Mail

2001-02-12 Thread Ted S.
Thanks for the comments about trying a different module. Unfortunately, I looked through the help files on Tripod, and it says that they don't use the normal SENDMAIL (IIRC) that Perl programmers are apparently used to. I don't think I'll be able to get the name of their SMTP server. And

Re: Sending mail (Sorry for the long post)

2001-02-12 Thread Ted S.
At 2/11/01 9:43:00 PM, you wrote: >Not sure this is it, but try changing >To: [EMAIL PROTECTED] >to >To: tedstennis\@bigfoot.com > >Depending on how the script parses the template, it could consider @bigfoot >to be an array unless you escape it. First, I want to apologise for taking so long to re

Re: newbie alphanumeric counter

2001-02-12 Thread $Bill Luebkert
"Rogers, John" wrote: > > Howdy, > to test control panel displays > I wanted to make a alphanumeric counter, eg I want to count from 1 to z > using both upper and lower case. > > I thought I could do this with octal numbers. > eg. > #!perl -w > $df ="\101\102\103"; > print "$df\n"; > ##

Re: Sending mail (Sorry for the long post)

2001-02-12 Thread Ron Pero
Not sure this is it, but try changing To: [EMAIL PROTECTED] to To: tedstennis\@bigfoot.com Depending on how the script parses the template, it could consider @bigfoot to be an array unless you escape it. Ron At 05:34 PM 02/11/01 -0500, Ted S. wrote: >To: [EMAIL PROTECTED] _

RE: Sending mail (Sorry for the long post)

2001-02-12 Thread Dave . Clarke
I don't have any experience with Tripod, and I also don't recall seeing alot of traffic about it on this list. There are several mail modules out there, here is one that is commonly used, and I have experience with. use Mail::Sender; my $Sender = new Mail::Sender {

copying files to LPT1

2001-02-12 Thread Fogagnolo Fabio
I'm having some problems trying to use the File::copy copy function: in DOS when I copy a file to LPT1 it get printed; using the above function instead I get a Windows error (blu screen...) or the machine reboot. This only appens if I specify a printer directly connected to my pc, no problems if

xml::parser install

2001-02-12 Thread steve silvers
Im trying to install xml::parser and not having much luckim running win2000 pro.  perl v.5.6 I couldn't find it using ppm. Does anyone know where it is...install it via nmake, but I get the error:Too many errors encountered; the rest of the message is ignored:  Expat must be installed prior to

RE: (no subject)

2001-02-12 Thread stanley . g . martin
Here's a small sub that I used to use to access a Cisco Local Director to check the status of the nodes connected to it. # Config Variables my $host= 'cisco'; my $command = 'show real'; my $pass= 'password'; my $t = new Net::Telnet;

(no subject)

2001-02-12 Thread Foster, Kevin
Has anyone used Net::Telnet to connect to a Cisco Switch? Thanks, Kevin Foster Systems Administrator Engineering Services - Vignette Corp. Desk: (512) 741-1356 Cell: (512) 970-6748 "Building a better idiot through automation" ___ Perl-Win32-Users ma

RE: HTML::TokeParser question re: scalar variables

2001-02-12 Thread Joseph P. Discenza
Gary Nielson wrote, on Saturday, February 10, 2001 13:11 : I am trying to parse a scalar variable instead of opening a file, using : HTML::TokeParser. The man page says the argument can be a file name, or : complete document. "If the argument is a reference to a

Re: Copy directories

2001-02-12 Thread Marcus
On 11.02.01 at 18:59 andrey wrote: >how can i copy a directory (including all >the subdirectories and files in it ) to another directory ? You could use a shell command. On Win32 use xcopy (the 32 bit version for long filenames). Take a look at the parameters with "xcopy /?". For example xcopy

Re: Ftp: Bad remote filename

2001-02-12 Thread Marcus
On 10.02.01 at 17:21 $Bill Luebkert wrote: >If all of that fails, try changing the ' ' to a '_' and then try a >rename afterwards and see if rename is any more friendly. Thanks Bill for all the suggestions. The last option of renaming is the only one that will work. Isn't that odd that Net::FTP