Re: MIME::Lite::TT::HTML - Default template

2010-09-02 Thread Jimmy
On Jul 20, 6:08 am, mimic...@googlemail.com (Mimi Cafe) wrote: > I am testingMIME::Lite::TT::HTMLand it works as expected using myhtml > template. What I need to understand is why it does nit send email using my > text template or both template, since I did not explicitly specify which > template t

Params::Util installation probelm

2007-04-24 Thread jimmy yu
Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 10 Failed 1/11 tests, 90.91% okay t/07_handle..ok t/99_author..skipped all skipped: Author tests not required for installation Failed Test Stat Wstat Total Fail List of Failed thanks in advance. -- Jimmy Yu

Re: find a value

2006-02-08 Thread Jimmy
Adriano Allora wrote: Hi all, is there a way to find a value in an array without a foreach loop? thank you all a lot, alladr |^|_|^|_|^| |^|_|^|_|^| | | | | | | | | | |*\_/*\_/*\_/*\_/*\_/* | | | | | | | | | http://www.e-allora.net | | | | | ** Hi Adr

Re: Want to add exception for a auto run sub in module

2006-01-23 Thread Jimmy
Sorry for typing err for the sub name at the question part =( normal_header() and other_header() should aling with the sample code, so is NormalHeader() and OtherHeader(). - Original Message - From: "Jimmy" <[EMAIL PROTECTED]> To: "Perl Beginners" Sent: Monday

Want to add exception for a auto run sub in module

2006-01-23 Thread Jimmy
Hi all, I have a module somewhat looks like this : package minicgi; require Exporter; our @ISA = qw/Exporter/; our @EXPORT = qw/NormalHeader OtherHeader/; sub NornalHeader { print "Content-Type:text/html\n\n" } # normal html sub OtherHeader { print "Content-Type:$_[0]\r\n\r\n" } # per

Re: problems with subroutine prototype checking

2006-01-19 Thread Jimmy
- Original Message - From: "Gavin Bowlby" <[EMAIL PROTECTED]> To: Sent: Friday, January 20, 2006 7:57 AM Subject: problems with subroutine prototype checking b.pm: # You may want to add this : package b; require Exporter; our @ISA = qw/Exporter; our @EXPORT qw/b_function/; if you don

Re: Distribution of words length

2005-12-24 Thread Jimmy
Perhaps this help : use strict; my @text = qw/ hello world a ab abc abcde /; my @result ; $result[ length $_ ]++ for ( @text ) ; for (1..$#result ) { print "$result[$_] for $_ chars char\n" if $result[$_]} # prints 1 for 1 chars char 1 for 2 chars char 1 for 3 chars char 3 for 5 chars

Re: Assign regex in var possible ?

2005-12-20 Thread Jimmy
Wow !! That perfect!!! Exactly what I want ! Thank you very much John. Jim - Original Message - From: "John W. Krahn" <[EMAIL PROTECTED]> To: "Perl Beginners" Sent: Wednesday, December 21, 2005 12:30 PM Subject: Re: Assign regex in var possible ? > Jimmy

Assign regex in var possible ?

2005-12-20 Thread Jimmy
Hi all, Just start with perl, not so understood what's the range on using regex. Can I do something like : $x = /\.(jpg|jpeg|gif|bmp)$/i; for (@filelist) { push @result, $_ if $_ =~ $x } since the expression will use time to time, so split it as sub is not effective enough either Any hint

Re: how to include a subroutine from external file?

2002-06-23 Thread Jimmy James
set of Perl skills could understand it. I would guess that I really only know about 100 commands in Perl (and that may be over-stating it) - but being able to put those commands together in a useful manner is what has given me a lucrative career as a Perl and MySQL programmer for the last several