RE: Mojo Mail help?

2003-02-21 Thread Thomas_M
Title: Message Have you tried http://www.mojohelp.com/forums/? -- Mark Thomas [EMAIL PROTECTED] Internet Systems Architect User Technology Associates, Inc. $_=q;KvtuyboopuifeyQQfeemyibdlfee;; y.e.s. ;y+B-x+A-w+s; ;y;y; ;;print;; -Original Message-From: Mark G. Franz

RE: Technical Arguments for using Perl in a web environment...

2003-01-23 Thread Thomas_M
That's interesting, since I'm working in one of your agencies (http://www.bls.gov/), and Perl is definitely critical for producing the site. If that didn't make it up to DOL, they've asked the wrong people here. Obviously, we should talk offline. But I'll state a few things: 1. Getting rid of

RE: Technical Arguments for using Perl in a web environment...

2003-01-23 Thread Thomas_M
James Tillman wrote: Basically, any organization considering using Java as a development platform is going to want Perl as a sidekick, because who wants to write a Java class for every stupid little thing you need to do? Perl's great at stupid little things :-) This is an excellent

RE: Remote executing a script using perl

2003-01-23 Thread Thomas_M
Is it possible to execute a script remotely on another PC from a perl script. If so what must I use to accomplish this task Ronald There are many, many ways to do this. You really should be more specific about your needs. Is this communication between two large systems where you would like

RE: RE: Win32::AdminMisc module on linux

2002-12-26 Thread Thomas_M
Kavita wrote: Actually my problem is that i wanna put up one website on intranet.In which i wanna authenticate intranet's users to NT Domain Controller(PDC).Also i wanna get rights of users on shared folders.And also wanna display those files and folders web-based. I have tred ur

RE: Can pack do what I want?

2002-12-10 Thread Thomas_M
Justin wrote: You'll forgive me, I graduated in Triple E, so I'm not sure of what I mean, but I do know what I need. Well I'm a Double E, so you're one E up on me! So question is, if this string was packed with pack in Perl would it be interpreted by the hardware that it's pumped into in

RE: Excel to html format

2002-11-26 Thread Thomas_M
I will second the motion for Spreadsheet::ParseExcel. I have been working with statistical tables lately and have built a set of modules that takes Excel files as input and outputs valid XHTML 1.0 tables that are ADA Section 508 compliant. Recent versions of Spreadsheet::ParseExcel have worked

RE: Random numbers

2002-10-29 Thread Thomas_M
Title: Message Personally, I like to useCrypt::GeneratePassword. You can create passwords that are longer, yet easierfor users toremember and less likely to be written on a Post-it on their monitor. -- Mark Thomas [EMAIL PROTECTED] Internet Systems Architect User Technology Associates,

RE: A regular expression question

2002-09-12 Thread Thomas_M
Cai_lixin wrote: I want to get the comment after # of each line(not including #), how could I do this? Depends. If you might have a # in a command, you'll want everything after the last #. If you're more likely to have another # in a comment, you want everything after the first #. (if you

RE: Regualr Expression

2002-09-10 Thread Thomas_M
oops, do that and you'll confuse it. swap that for $dir=~s'\'/'g; #not interpolated with single quotes Huh? I've never heard of that. It doesn't work for me either. What version of Perl are you using, and where is this documented? -- Mark Thomas[EMAIL PROTECTED]

RE: Compare dates question

2002-06-26 Thread Thomas_M
I like this idea, but the only problem is that it is set to 30 days no matter what. The date 05/27/2002 runs up on 06/26/2002. Exactically 30 days later. I was hoping to set it to the exact date from month to month. Like the start date is 05/27/2002 the end date would be 06/27/2002.

RE: Using qw(....) on data from database.

2002-05-16 Thread Thomas_M
I think what you want is push @nums, qw($nums); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 12:15 PM To: [EMAIL PROTECTED] Subject: Using qw() on data from database. I'm using. while(($nums) =

RE: Perl syntax check without using perl -c

2002-05-10 Thread Thomas_M
Oops, sorry, I should have specified that I don't want the perl code to actually run in any context, especially that of my own program. I just want the syntax checked as in perl -c. $code = q($a=5; print a++); $output = `perl -ce $code`; # output: # syntax error at -e line 1, near ++; #

RE: Perl syntax check without using perl -c

2002-05-10 Thread Thomas_M
Actually, that didn't work quite like I thought it did. The output was of course going to stderr and wasn't captured by the $output variable. -Original Message- From: Thomas_M [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 10:47 AM To: 'Tillman, James'; [EMAIL PROTECTED

RE: XMl convertion quickie.

2002-05-07 Thread Thomas_M
I'm not an expert in this area, but I've always assumed that AxKit (www.axkit.org) was as good as the Java XML/XSLT solutions. AxKit is now an official Apache Software Foundation project. The first sentence of the feature list is XSLT based pipelined XML transformations. If there are specific

RE: Perl from CD?

2002-05-03 Thread Thomas_M
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote: What I really dont get is how can I run Perl from the CD. Is there a way to install a Web server on a CD or make a perl freestanding exe file that runs from the CD that is not in a DOS format? Yes. It's in the FAQ. -- Mark Thomas

RE: Why my boss doesn't want Perl...

2002-04-26 Thread Thomas_M
Your team needs to write GUI apps in a Windows environment, automating MS Exchange Server and Lotus Notes using OLE? There are many places in which perl is the best tool for the job, but I have to say, this isn't one of them. In this forum I'll probably catch some flak for saying this, but I'm

RE: reverse of substr?

2002-04-16 Thread Thomas_M
Matthew Musgrove [mailto:[EMAIL PROTECTED]] wrote: #!/usr/bin/perl -w use strict; my $string=some text. and some more here; my @integers = (1, 12, 123, 1234, 12345, 123456, 1234567, 12345678, 123456789, 1234567890); foreach my $integer (@integers) { my $len =

RE: pattern match timeout error using Net::Telnet

2002-04-12 Thread Thomas_M
You don't need to waitfor() the prompt. Just use cmd() and Net::Telnet will automatically stop reading at the prompt. The prompt will not be included in the return value of cmd(). This, of course, assumes you've specified the prompt correctly. If this is your problem, you can use the nice

RE: SMTP Server requires authentication

2002-01-10 Thread Thomas_M
-Original Message- From: Riva S [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 2:13 PM To: [EMAIL PROTECTED] Subject: SMTP Server requires authentication Using Mail::Sender, I get Server error: 505 Authentication required when trying to send email, which I

RE: waitfor in telnet module

2002-01-10 Thread Thomas_M
Are you SURE there is exactly one space character after (y/n) ? Followed by a carriage return? If not, you'll need to change your regex. -- Mark Thomas[EMAIL PROTECTED] Sr. Internet Architect User Technology Associates, Inc. $_=q;KvtuyboopuifeyQQfeemyibdlfee;;

RE: Scrolling text - new question

2001-12-07 Thread Thomas_M
Did you try tkweb, one of the Perl/Tk sample apps? -Original Message- From: Martin Moss [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 6:11 AM To: Perl-Win32-Users Mailing List Subject: RE: Scrolling text - new question All, after some excellent help from Ron

RE: Read on a file the last lines

2001-10-15 Thread Thomas_M
From CPAN (http://www.cpan.org/modules/by-module/File/File-Tail-0.98.readme): The File::Tail module is designed for reading files which are continously appended to (the name comes from the tail -f directive). Usualy such files are logfiles of some description. -- Mark

RE: [PBML] Re: Regular expression needed

2001-10-10 Thread Thomas_M
Jeffrey [mailto:[EMAIL PROTECTED]] wrote: Another method is to specify different delimiters for the match. This avoids LTS (leaning toothpick syndrome): m#^/bootp/linux/#; m%^/bootp/linux/%; m(^/bootp/linux/); Each of the lines above are equivalent -- they're also equivalent to

RE: Exception handling in Perl

2001-09-28 Thread Thomas_M
If you'd like try/catch semantics, they are implemented in Error.pm. Of course you could do it yourself too: sub try ($) { my($try, $catch) = @_; eval { $try }; if ($@) { local $_ = $@; $catch; } } sub catch () { shift }; # example

RE: Smartarse Unix Beardy Types...

2001-06-22 Thread Thomas_M
Doesn't work using bash: [root@linux]# perl -e while (1){rand0.5 ? print'\\' : print'/'} Can't find string terminator ' anywhere before EOF at -e line 1. # -- Mark Thomas[EMAIL PROTECTED] Sr. Internet Architect User Technology Associates, Inc.

RE: [Perl-unix-users] Login Security

2001-06-08 Thread Thomas_M
Jenda Krynicky wrote: I think you misread the original post. Byron Wise says: Recently my company decided to put their login on the main page. This main page isn't secure. However the action attribute of the form tag does point to a secure cgi script that handles the

RE: malformed header from script error

2001-04-11 Thread Thomas_M
print "HTTP/1.0 200 Okay\n"; #print "Content-Type: multipart/x-mixed-replace;boundary=myboundary\n\n"; print "--myboundary\n"; You forgot to comment out the above line. That should fix it. -- Mark Thomas[EMAIL PROTECTED] Sr. Internet Architect User Technology

RE: OT:Windows Me vs Windows 98 SE

2001-04-03 Thread Thomas_M
Any of the newer ones with kernel = 2.4 and Xfree = 4.0.1. I like Mandrake 7.2. Check out the little demo: http://www.linux-mandrake.com/en/demos/Demo/Mandrake7.2/QuickLook/ For those of you who haven't seen Linux in a while, the above will open your eyes. - Mark. -Original Message-

RE: Regular Expression questions

2001-03-28 Thread Thomas_M
Lee Goddard [mailto:[EMAIL PROTECTED]] wrote: At 17:31 27/03/2001 -0600, Walter Torres wrote: Also, some wrote this... s/.(?=)/*/g; s/ # substitute . # anything ?? (?=) # but the last 4 /# delimiter *

RE: Code Beautifier?

2001-03-08 Thread Thomas_M
This is the best I've seen: http://www.consultix-inc.com/perl_beautifier.html (though I have to admit I haven't tried emacs) -- Mark Thomas[EMAIL PROTECTED] Sr. Internet Architect User Technology Associates, Inc. $_=q;KvtuyboopuifeyQQfeemyibdlfee;; y.e.s.

RE: Code Beautifier?

2001-03-08 Thread Thomas_M
I meant it's the coolest hack I've seen. But I should have mentioned that's it's not yet available. http://www.consultix-inc.com/perl_beautifier.html (though I have to admit I haven't tried emacs) -- Mark Thomas[EMAIL PROTECTED] Sr. Internet Architect User

RE: I've sprung a Memory Leak!!

2001-02-27 Thread Thomas_M
It's a Linux process, but I've not had much luck with response from the UNIX mailing list, You only waited 12 minutes. Did you mean the memory leak was your code or yourself? :) See my answer in the Perl-Unix-Users list; hopefully it'll help. - Mark.

RE: SMTP Issue

2001-02-16 Thread Thomas_M
Dirk Bremer wrote: $SMTP = Net::SMTP-new('mailservername'); $Result = $SMTP-mail('mailrecipient); $Result = $SMTP-to('mailrecipient'); $Result = $SMTP-data(); $Result = $SMTP-datasend("To: Dirk Bremer\n"); $Result = $SMTP-datasend("From: Perl\n"); $Result = $SMTP-datasend("Subject: Email

RE: mail smarthost module for perl?

2001-02-16 Thread Thomas_M
If you want an MTA written in perl, here's one: http://freshmeat.net/projects/perlsmtpdaemon/ However, It just sounds like you want to connect to a mail server for a given domain to check the connection. In that case, just (1) use Net::DNS to find the mail server for the domain (2) use

RE: Expect and ppm?

2001-01-29 Thread Thomas_M
Net::Telnet has the expect/send/expect features you're looking for and (1) it's a whole lot easier to use , (2) it's cross-platform, so it will work in Windoze. -- Mark Thomas[EMAIL PROTECTED] Sr. Internet Architect User Technology Associates, Inc.