Re: Info req

2003-06-18 Thread Tassilo von Parseval
On Wed, Jun 18, 2003 at 12:38:35AM -0400 Shishir K. Singh wrote: I am trying to locate the perl code for the opcode -B or stat but I am getting lost in the maze of all the files. Would appreciate it if someone could pls direct me to the actual file where the algo for -B file test switch

html smtp

2003-06-18 Thread anthony
Hi, I would like to know how to send via net::smtp to send html e-mails. any help is appreciated Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: html smtp

2003-06-18 Thread Tim Johnson
Very generally, you will need to send the line Content-Type: text/html in your header before the data section. Then you can use regular html tags to format your text. -Original Message- From: anthony To: [EMAIL PROTECTED] Sent: 6/18/03 12:26 AM Subject: html smtp Hi, I would like

Re: need advice - https authentication

2003-06-18 Thread Pradeep Sethi
I am sure, somebody will point you to the right direction here. -Pradeep [ Muliawan Sjarif ] [EMAIL PROTECTED] wrote: Hi, Thank you for your reply. Actually I did try authorization_basic. But, it seems that the website doesn't use authorization_basic scheme. Below is my code. The username

Help with IPC::Run

2003-06-18 Thread Rasoul Hajikhani
Hi there, I having a hard time making IPC::Run work. Here is what I have running: push (@commands, gpg --homedir $home --no-tty --passphrase-fd 0 --no-default-keyring --secret-keyring $home/$gpgSecret --decrypt $encryptFile); $h = start [EMAIL PROTECTED], 'pipe', \*IN, 'pipe', \*OUT, '2pipe',

HTML with in-line image and xml

2003-06-18 Thread Josimar Nunes de Oliveira
Hello everybody, Please, could somebody help me to understand the reason the xml does not act in-line with html like the gif? The image.gif may be anything you have. Thanks in advance, Josimar 1) the code: use MIME::Lite; $msg = MIME::Lite-new( To ='[EMAIL PROTECTED]', Subject ='HTML with

Tassilo's email signature

2003-06-18 Thread Sparrow, Dave
A regular contributor to the Perl Quiz Of The Week discussion newsgroup ([EMAIL PROTECTED]) is Tassilo von Parseval. His email signature is reproduced below. I have no idea what it does and can't get it to run. I'm curious... Any ideas? Thanks, Dave.

treating multiple objects matching other multiple objedts.

2003-06-18 Thread Ronen Kfir
Hi, The follow is a script I wrote designed to send mail messages with predefined attachments, as an alerts coming from Big Brother system. That is how it works: As soon as mail arrives from Big Brother, files named down up generated by a .procmailrc file. The down up files are trigger

extracting a group of keys

2003-06-18 Thread Adriano Allora
Hi to all, I have to compare each line of a very long text file with each line of another one. I stored all the first file lines in an hash - to make the process faster. Now I have that hash with the first word of each line in the value of hash and the entire line in the related key (cause I

Accessing C/C++ Dlls using perl

2003-06-18 Thread Ben Crane
Hi all, I've tried this question in a forum dedicated to MITAB dlls (it's a series of c/c++ libraries designed to access MapInfo data) to no avail. My question is: can you access and use c/c++ dll's in perl?? At the moment, I have a MapBasic script pulling information from MapINfo and dumping

Re: Tassilo's email signature

2003-06-18 Thread Tassilo von Parseval
On Wed, Jun 18, 2003 at 09:44:58AM +0100 Sparrow, Dave wrote: A regular contributor to the Perl Quiz Of The Week discussion newsgroup ([EMAIL PROTECTED]) is Tassilo von Parseval. Actually even more regularly to this list here so I can respond... His email signature is reproduced below. I

Re: [perl_beginners] Tassilo's email signature

2003-06-18 Thread Pam and Craig Bailey
I would also be interested in knowing this. After looking at the sig \ code - it looks like it's mostly printed backwards, rekcah = hacker, etc. I don't see how the code gets un-reversed though. ---Original Message--- From: Sparrow, Dave Date: Wednesday, June 18, 2003 5:43:00 AM

RE: Tassilo's email signature

2003-06-18 Thread Sparrow, Dave
[Tassilo's email snipped] Thanks for the explanation. As to why it wouldn't run for me, it turns out that I have two versions of Perl on my PC. One is 5.003_07 (comes as part of the Rational development toolset, used for ClearCase/ClearQuest) and the other is v5.8.0 which I installed myself in

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Ramprasad
Anand Babu wrote: Hi all, I am new to this group. I need help regarding a perl script which parses the web log file, access_log. Welcome , This is the most friendly list I have seen The format of the access_log is: 127.0.0.1 - - [15/Jun/2003:13:54:02 -0100] GET / HTTP/1.1 200 34906

Re: regexp example

2003-06-18 Thread Jeff 'japhy' Pinyan
On Jun 10, James Edward Gray II said: s/\\([A-Za-z0-9]+?) \[(\d+?)\]/$1\[$2]/; There's no reason NOT to capture the brackets. Also, the non-greediness you've supplied is useless, since there's no way for them to match too much. After the [A-Za-z0-9] is a space, which is NOT matchable by

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Ben Crane
Try: http://www.oreilly.com/catalog/perlwsmng/chapter/ch08.html good starting place! __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Ben Crane
Try: http://www.oreilly.com/catalog/perlwsmng/chapter/ch08.html good starting place! __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Access DB

2003-06-18 Thread Dan Muey
Ick. Don't go there. Bad combination. If you are using Perl, try working with mySql or PostgresSql - both have some support in Perl. Access complicates things all across the board, and it has major scalability problems for any web related work. You're preaching to the choir my friend.

RE: Access DB

2003-06-18 Thread Dan Muey
Any ideas how best to deal with Access Databases with perl? Look up MDB Tools on Freshmeat.net Thanks! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Access DB

2003-06-18 Thread Dan Muey
Here's how I used to connect using DBI and DBD::ODBC. I would pass the access database's name as a parameter. From here you can just use dbi and SQL to manipulate the DB. If you need more help with DBI I would recommend posting in the dbi-users group. my $dbh =

RE: RE: Check if webserver is online

2003-06-18 Thread Dan Muey
You are right ping is the best way to know if the machine is connected to the network. Search for ICMP on cpan Assuming ping is not disabled on that machine and/or network and you have 100% control over if it ever is or not, sure. But pinging a machine at your home throught your isp? How

Re: Tassilo's email signature

2003-06-18 Thread Tassilo von Parseval
[ CCed to [EMAIL PROTECTED] ] On Wed, Jun 18, 2003 at 06:43:24AM -0700 Rob Richardson wrote: Interesting! Not that I can understand much of it... But I'm particularly interested in the caller stack. Is that standard Perl or do I have to have a special module? caller() is a Perl-builtin.

Build Mirror Directory Structure

2003-06-18 Thread Mike Garner
I've got to make modifications to nearly 13,000 htm and html files on a web server. I've written all the parts for actually modifying the files but now I'd like to make it so it will read one directory structure and write a new, parrallel directory structure with all the modifications. So my

Re: Tassilo's email signature

2003-06-18 Thread AustinTanney
Hi I'm totally new to the list and havent a clue about coding. gotta start somewhere tho :-) Interesting signature. One thing I dont get though is, why when i change any of the backwards text does it stop the output from working? Austin - Original Message - From: Tassilo von Parseval

Html mason - apache HELP

2003-06-18 Thread Paul Kraus
Ok I don't know where to post this but since it seems to be a perl issue I am going to ask for help here... I have installed apache, mod_perl, and html mason on a windows xp pro development machine. I am using activestate and have installed all packages via PPM. Yesterday I just had apache and

Re: Tassilo's email signature

2003-06-18 Thread Tassilo von Parseval
On Wed, Jun 18, 2003 at 04:08:22PM +0100 AustinTanney wrote: Hi I'm totally new to the list and havent a clue about coding. gotta start somewhere tho :-) Interesting signature. One thing I dont get though is, why when i change any of the backwards text does it stop the output from working?

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Anand Babu
No, I was not expecting anyone to give me a ready made program! I believe in the adage that Self Help is the Best Help:-) Thanks for the pointer to http://www.oreilly.com/catalog/perlwsmng/chapter/ch08.html. I already looked at that before posting my message. At the end of this email, is the

RE: Parsing the Apache web log file, access_log

2003-06-18 Thread Anand Ayyagary
No, I was not expecting anyone to give me a ready made program! At the end of this email, is the script that I wrote. Thanks for the pointer. I looked at the Parse Log and looked to me that the report that this module generates is not what I am looking at. Here is the perl script that I wrote.

help w/ threads::shared

2003-06-18 Thread Jeremy Vinding
here's what i'm trying to do: i need a way for several threads to access several config files... i don't want to write my own parser so i'm using Config::IniFiles. the code i wrote to attempt this follows... the problem i'm having is i can't seem to share the object i'm creating w/

Re: magic open and sed?

2003-06-18 Thread Math55
hi, i use the unix command file and so i get something like ./home/test... but what i need for my program is: d./home/test... so i need to replace the . at ./home with : d. ! how can i do that? THANKS - Original Message - From: Dan Muey [EMAIL PROTECTED] To:

Re: Tassilo's email signature

2003-06-18 Thread Harry Putnam
Tassilo von Parseval [EMAIL PROTECTED] writes: There shouldn't be anything platform dependent in it. However, for this JAPH whitespace does matter. So you need to copy it as one string and not concatenate it together. Must be three lines separated by newline. I can't run it with a normal cut

RE: magic open and sed?

2003-06-18 Thread Dan Muey
hi, i use the unix command file and so i get something like ./home/test... but what i need for my program is: d./home/test... so i need to replace the . at ./home with : d. ! how can i do that? Echo echo : my $line = './home/test'; print

Win32::OLE

2003-06-18 Thread Shishir K. Singh
Hello, I am running Active state Perl 5.8.0 on Windows 2000 Professional. I am trying to run simple script that tries to parse an XLS file. The script name is x.pl and the xls file that it tries to open is x.xls and they both exist in the same directory. x.pl #

Re: Accessing C/C++ Dlls using perl

2003-06-18 Thread Shaun Bramley
I know that this can be done using PHP and if it can be done there then it surely is available within perl. If I'm not mistaken I believe that was the original idea behind the Win32 based packages. Someone please correct me if I am wrong. Shaun - Original Message - From: Ben Crane

Re: Accessing C/C++ Dlls using perl

2003-06-18 Thread Beau E. Cox
- Original Message - From: Ben Crane [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 1:07 AM Subject: Accessing C/C++ Dlls using perl Hi all, I've tried this question in a forum dedicated to MITAB dlls (it's a series of c/c++ libraries designed to access

Mapping network drives with perl on win2k

2003-06-18 Thread Jensen Kenneth B SrA AFPC/DPDMPQ
I have written a script which I would like to set up as an 'at' job on windows 2000. The script transfers files from a remote UNIX server and places them on a mapped network drive. My problem is that when the at job runs it does not have access to mapped drives for particular users. Does anyone

RE: Parsing Emails

2003-06-18 Thread Dan Muey
Hi, Howdy, I need to be able to parse incoming emails so that I write the data to a MySQL database. Is there a CPAN module that could assist me in this. Something like a template module but only in the reverse. I use Mail::Internet to parse emails form STDIN and the DBI to put

a real novice question about long filenames on win32

2003-06-18 Thread james
hi, y'all, last night i tried getting a perl script i wrote to change long filenames on a win32 platform, or to copy the files to another directory with changed names. the filenames are formatted like this: nn - - .fff, where n's are numbers, x's are strings, \s-\s is a delimiter;

RE: Parsing Emails

2003-06-18 Thread Dan Muey
Hi Dan, Hey, Thanks for replying to my email. I looked at the No prob. Although please don't request read receipts for mailing lists and please post to the list and not just me so all can share. documentation on Mail::Internet and did not find it very helpful. Could you please send

html files for ppms

2003-06-18 Thread Beau E. Cox
Hi - I have some custom html documentation I want to include in a ppm for distribution. Where should I put them for inclusion in my ppm ('(n)make ppm')? I am overiding the ppm section in MakeMaker; can I copy them to somewhere in 'blib' for inclusion in the generated module.tar.gz? Is there a

Perl debug

2003-06-18 Thread sandip das
Hi, can anybody let me know how to print out values of certain variables in Perl Debug mode while doing single stepping ? Sandip. __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Perl debug

2003-06-18 Thread Steve Grazzini
On Wed, Jun 18, 2003 at 05:21:06PM -0700, sandip das wrote: can anybody let me know how to print out values of certain variables in Perl Debug mode while doing single stepping ? Use 'p' or 'V'. 'h' will give you the list of available commands. -- Steve -- To unsubscribe, e-mail: [EMAIL

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Anand Babu
Hi, Further to my posts 48450 48452, I have modified the perl script. Here it is: -- #!/usr/bin/perl ###use strict; use Getopt::Long; use Time::Local; my $file=access_log_modified; my $begin_time = ; my $end_time; my @visual_pages = (); my @final_visual_pages = ();