Re: Sending HTML file as mail from mail command (mail -s )

2005-10-13 Thread Wiggins d'Anconia
Josh Brown wrote: > Mazhar wrote: > >> Hi Folks, >>i have a requirement where in i need to send alerts to a set >> of users for which i have developed a script and it is working fine. >> For the body of the mail i am writing into a text file everytime and i >> am sending across using the c

RE: Perl for Windows xp

2005-10-13 Thread Timothy Johnson
Use ActivePerl. It's the de facto standard for Perl for Win32. http://www.activestate.com/activeperl You can also install perl with Cygwin, but it's not worth setting up a whole pseudo-unix environment if you just want to start using Perl. -Original Message- From: Jenny Chen [mail

RE: Perl for Windows xp

2005-10-13 Thread Vince Wang
you need active perl: http://www.activestate.com/Products/ActivePerl/ Have fun, Vince -Original Message- From: Jenny Chen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 4:11 PM To: beginners@perl.org Subject: Perl for Windows xp Hi All, Can someone tell me where can I downl

Perl for Windows xp

2005-10-13 Thread Jenny Chen
Hi All, Can someone tell me where can I download perl for Window XP? Thanks. Jenny -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Sending HTML file as mail from mail command (mail -s )

2005-10-13 Thread Josh Brown
Mazhar wrote: Hi Folks, i have a requirement where in i need to send alerts to a set of users for which i have developed a script and it is working fine. For the body of the mail i am writing into a text file everytime and i am sending across using the command, cat "textfilename" | mail

RE : LLama and camels books

2005-10-13 Thread Jose Nyimi
> -Message d'origine- > De : Dion Markus [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 13 octobre 2005 23:09 > À : beginners@perl.org > Objet : LLama and camels books > > > Hi all I am totaly new to Perl and programming. > I am Dion Markus from the netherlands and i would like to > learn

print main:: ....

2005-10-13 Thread Gerard Robin
Hello, when I run this script I get the results: #!/usr/bin/perl #obj1.pl # package Useless; use warnings; sub method { return "sometimes I don't understand Perl and often I am wrong" } my $obj = bless []; print main::method, "\n"; print main::, "\n"; print $obj, "\n"; print $obj->method, "\n"

RE: LLama and camels books

2005-10-13 Thread Sugrue, Sean
Try Python. -Original Message- From: Dion Markus [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 5:09 PM To: beginners@perl.org Subject: LLama and camels books Hi all I am totaly new to Perl and programming. I am Dion Markus from the netherlands and i would like to learn perl

RE: LLama and camels books

2005-10-13 Thread John Bruin
Hi Dion Have a look at "Perl for Dummies". If you are new to programming you might find it more readable. Then have another go at Learning Perl. HTH John > -Original Message- > From: Dion Markus [mailto:[EMAIL PROTECTED] > Sent: 14 October 2005 10:09 > To: beginners@perl.org > Subject:

LLama and camels books

2005-10-13 Thread Dion Markus
Hi all I am totaly new to Perl and programming. I am Dion Markus from the netherlands and i would like to learn perl. I have the llama and camel books but when i reached the second chapter of learning perl i went "insane" (more confused bytheway"). I didnt get the clue of all of it and i found i

Test::Harness and Text::FIGlet

2005-10-13 Thread Beau E. Cox
Hi - I came across a strange problem using Text::FIGlet in a module I am developing. When using '[n]make test' against a test script in my module's test suite that uses Text::FIGlet I get ten hundred million ( ;) ) 'unintellectual' warnings from FIGlet.pm, yet the test succeeds. If I install th

RE: Simple Substition Question

2005-10-13 Thread Timothy Johnson
If you break down what you've written into an English approximation, you get something like this: # Create a variable $text, then assign $text the value 'hello'; Create a variable $text2, then assign $text2 the value 'bye'; Create a variable $text3, then substitute all inst

Re: Simple Substition Question

2005-10-13 Thread Jeff 'japhy' Pinyan
On Oct 13, Dave Adams said: my $text= 'hello'; my $text2 = 'bye'; my $text3 =~ s/$text/$text2/g; print $text3; What are you expecting to happen? There is NOTHING in $text3, so trying to substitute all "hello"s for "bye"s will result in Perl telling you that you're using an uninitialized val

Simple Substition Question

2005-10-13 Thread Dave Adams
My Code: -- #!/usr/bin/perl -w use strict; my $text= 'hello'; my $text2 = 'bye'; my $text3 =~ s/$text/$text2/g; print $text3; My Error: --- F:\perlex\findpara.pl line 5. Use of uninitialized value in print at F:\perlex\findpara.pl line 6. My Questions:

Re: Sending HTML file as mail from mail command (mail -s )

2005-10-13 Thread Chris Devers
On Thu, 13 Oct 2005, Mazhar wrote: > i have a requirement where in i need to send alerts to a set > of users for which i have developed a script and it is working fine. > For the body of the mail i am writing into a text file everytime and i > am sending across using the command, > > cat

Re: regd. regular. expression.

2005-10-13 Thread Jeff 'japhy' Pinyan
On Oct 13, [EMAIL PROTECTED] said: my $match = '1ak'; if ($match =~/([a-hj-nprt-wyA-HJ-NPRT-WY])/ ){ But when I am executing its still giving me Ok as output .The Problem is like this I want to match only character (a-h,j-n,p,r,t-w,y) including upper case also or in other words I need Error

Re: test/debugging modules that are duplicates of existing modules.

2005-10-13 Thread John Doe
Tom Allison am Donnerstag, 13. Oktober 2005 12.52: > I'm pretty sure I'm not doing this right. > > I have two modules of the same name, current version and future version, > in two different directories. > > $HOME/test/Module1.pm > $HOME/test/Module2.pm > $HOME/lib/Module1.pm > $HOME/lib/Module2.pm

regd. regular. expression.

2005-10-13 Thread mayank . ahuja
Hi Perlers Here is my code my $match = '1ak'; if ( length($match) =~ /3/){ if ($match =~/([a-hj-nprt-wyA-HJ-NPRT-WY])/ ){ print "OK \n"; } else{ print "Error \n"; } } else{ print " Length Problem \n" ; } But when I am executing its sti

Re: test/debugging modules that are duplicates of existing modules.

2005-10-13 Thread Peter Scott
On Thu, 13 Oct 2005 06:52:52 -0400, Tom Allison wrote: > I have two modules of the same name, current version and future version, > in two different directories. > > $HOME/test/Module1.pm > $HOME/test/Module2.pm > $HOME/lib/Module1.pm > $HOME/lib/Module2.pm > > and another module: $HOME/lib/Mod

Re: flock & network

2005-10-13 Thread Peter Scott
On Wed, 12 Oct 2005 09:55:12 -0400, Tom Allison wrote: > How do I test for NFS mounting so I can flag it as a problem in my code? The device number may be negative; try it and see. perldoc -f stat. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mai

Sending HTML file as mail from mail command (mail -s )

2005-10-13 Thread Mazhar
Hi Folks, i have a requirement where in i need to send alerts to a set of users for which i have developed a script and it is working fine. For the body of the mail i am writing into a text file everytime and i am sending across using the command, cat "textfilename" | mail -s "Subject" set

Re: Lexical Analysis and Parsing in Perl

2005-10-13 Thread Jeff 'japhy' Pinyan
On Oct 13, Tommy Nordgren said: Do anyone know of tools to help in the implementation of parsers and lexical analyzers in Perl? Do you mean for programming languages or spoken/written languages? There are plenty of parser modules out there; the most well-known, I would say, is Parse::RecDesc

Re: EAR file

2005-10-13 Thread Xavier Noria
On Oct 13, 2005, at 13:59, Pant, Hridyesh wrote: Hi, I have on ear file,I want to extract this ear file and need to changed some text data in files inside this ear file.could anybody help me.. An ear file is a jar file[*], which in turn is just a zip file. So looks like the options are you ei

Re: EAR file

2005-10-13 Thread Dan Klose
On Thu, 2005-10-13 at 07:59 -0400, Pant, Hridyesh wrote: > Hi, Hello. > I have on ear file,I want to extract this ear file and need to changed > some text data in files inside this ear file.could anybody help me.. Yes. To give Mr Devers a break from typing: "Show us some code..." You should s

Lexical Analysis and Parsing in Perl

2005-10-13 Thread Tommy Nordgren
Do anyone know of tools to help in the implementation of parsers and lexical analyzers in Perl? "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone" -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

EAR file

2005-10-13 Thread Pant, Hridyesh
Hi, I have on ear file,I want to extract this ear file and need to changed some text data in files inside this ear file.could anybody help me.. Regards Hridyesh -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Please help me to get CONVERTER script which XML file convert to text

2005-10-13 Thread Chris Devers
On Thu, 13 Oct 2005 [EMAIL PROTECTED] wrote: > I need to perl scriptcode which is convert XML file to txt(TEXT). > Please any body help me how can i find or write this converter. Search Google for Perl's XML modules. XML::Simple might be a good one to start with. Look it up, read the documenta

PDF::FromHTML

2005-10-13 Thread Brian Volk
Hi All~ Can anyone suggest a good module for converting HTML files to PDF files? I tried installing PDF::FromHTML but I always get an error saying I need to manually download and install a developers release PDF-Template-API2 . The CPAN installer gives a link. I follow the link to the downloa

Re: Please help me to get CONVERTER script which XML file convert to text

2005-10-13 Thread Xavier Noria
On Oct 13, 2005, at 8:35, [EMAIL PROTECTED] wrote: I need to perl scriptcode which is convert XML file to txt(TEXT). Please any body help me how can i find or write this converter. I try explain. This program must work on the OS Unix. So, this programm must convert XML file to text file. I

Please help me to get CONVERTER script which XML file convert to text

2005-10-13 Thread nahid
How do you do! I need to perl scriptcode which is convert XML file to txt(TEXT). Please any body help me how can i find or write this converter. I try explain. This program must work on the OS Unix. So, this programm must convert XML file to text file. I write a simple prog in perl whish is open

RE: Win32::OLE, ADODB.Stream and ADODB.Command problem.

2005-10-13 Thread Steven Manross
Try this... $cmCmd->Properties('Output stream')->{'Value'} = $sResponseStream; I can't test it but I think that's the correct invocation. Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luke Bakken Sent: Monday, October 10, 2005 2:25 PM To: per

Re: input web page question

2005-10-13 Thread Josh Brown
Luinrandir wrote: ok this is the code i have so far there it is... since i don't know how to call/capture/open the web page and get the HTML to a variable, there is not much I can do. Once I get the HTML into a var.. i can do the rest. as to moduals.. i barly know perl.. much less modu

test/debugging modules that are duplicates of existing modules.

2005-10-13 Thread Tom Allison
I'm pretty sure I'm not doing this right. I have two modules of the same name, current version and future version, in two different directories. $HOME/test/Module1.pm $HOME/test/Module2.pm $HOME/lib/Module1.pm $HOME/lib/Module2.pm and another module: $HOME/lib/Module3.pm Under perl -d I can

RE: how to find missing value.

2005-10-13 Thread Pant, Hridyesh
Thanks a lot john.. -Original Message- From: John W. Krahn [mailto:[EMAIL PROTECTED] Sent: 13 October 2005 15:48 To: Perl Beginners Subject: Re: how to find missing value. Pant, Hridyesh wrote: > > From: John W. Krahn [mailto:[EMAIL PROTECTED] >> >> Jabir Ahmed wrote: >> >>>I need t

Re: flock & network

2005-10-13 Thread Xavier Noria
On Oct 13, 2005, at 12:13, Tom Allison wrote: John Doe wrote: Tom Allison am Mittwoch, 12. Oktober 2005 15.55: [...] Since you got no answer yet from somebody knowing better: thanks, I'll look into it. I'm at a disadvantage since it is difficult to install something on this machine. I'm

Re: how to find missing value.

2005-10-13 Thread John W. Krahn
Pant, Hridyesh wrote: > > From: John W. Krahn [mailto:[EMAIL PROTECTED] >> >> Jabir Ahmed wrote: >> >>>I need to know the best way to get a missing element >>>from an array. >>> >>>i have an array @a of size containing values 1 to 101 >>>with one value missing. >>> >>>eg: @a=qw( 1 2 3 4 5 6 8

Re: flock & network

2005-10-13 Thread Tom Allison
John Doe wrote: Tom Allison am Mittwoch, 12. Oktober 2005 15.55: [...] Since you got no answer yet from somebody knowing better: thanks, I'll look into it. I'm at a disadvantage since it is difficult to install something on this machine. I'm not root. -- To unsubscribe, e-mail: [EMAIL PRO

calling C DLL from Perl using h2xs

2005-10-13 Thread sam joseph
Hi All Has anyone tried calling an exported function from C DLL in a Perl Program. I have a C DLL's source file and its header file and using h2xs D:\DLLProjects\simpledll3>h2xs -n ext2 simpledll3.h Writing ext2/ext2.pm Writing ext2/ext2.xs Writing ext2/Makefile.PL Writing ext2/README Writing e

Re: I'm back

2005-10-13 Thread John Doe
The Roopak Times am Donnerstag, 13. Oktober 2005 09.39: > Hi All Hi > Sorry to disturb you again but the same program is creating a heap of > troubles > this time it is not showing any results at all, it takes an input and then > forgets to process, > the program is here > > *use warnings; > us

I'm back

2005-10-13 Thread The Roopak Times
Hi All Sorry to disturb you again but the same program is creating a heap of troubles this time it is not showing any results at all, it takes an input and then forgets to process, the program is here *use warnings; use strict;* *print "Plz enter the path name:"; my $DIR=; chomp($DIR); if($DIR=