--- Mike Blezien [EMAIL PROTECTED] wrote:
Arrays in scalar context return the number of elements in the
array.
Try this:
my $num_elements = @{ $hash-{$key };
thank you :)
You can thank me after I post a *correct* code snippet :)
my $num_elements = @{ $hash-{$key} }; #
I saw a very simple demonstration last night (at the Boulder Java users
group) where Scott Davis showed a very simple java server pages program that
transmitted HTML table data to a browser resident instance of Microsoft
Excel. IE automatically looked at the mime types and invoked MS Excell to
Johnstone, Colin [JC], on Friday, May 13, 2005 at 08:46 (+1000) made
these points:
JC How can I parse HTML to find comment tags
JC Specifically.
JC !--#include virtual
you can use simple regexp for this (not tested):
@tags = $html =~ /!--([^]+)/g;
--
How do you protect mail on web? I use
Hi,
i'm looking for a way to activate the taint mode by defaut on my mashine,
with out doing the !#/usr/bin/perl -T in each script!
Somebody has an idea?
Thanks
Thomas
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How can i extract the compiler/linker options necessary to build a Perl
extension?
Of course there is the MakeMaker module, but I'm not entirely clear on
how to use this for my
purposes, particularly since I want a common makefile for extensions in
multiple
scripting languages: Perl, Python,
Thanks, Zentara,
The problem was fixed.
zentara wrote:
On Tue, 10 May 2005 12:31:34 +0800, [EMAIL PROTECTED] (Frank) wrote:
Sorry if my question is stupid or too simple. I have google the answer
but got too much information
I test my GD module to check whether it can be used since there are
On Thu, 12 May 2005 21:10:44 +0530, Madhur Kashyap wrote:
The chunk of perl code written below shows the way I have been using
the scalar referencing technique available in perl.
$a=X15565/X123/35;
$b=n245;
${$a.\t.$b}=0.598; ### == Scalar Referencing
$x=tracename
On May 13, Rajarshi Das said:
PVA.pl (PVA stands for Property Value Aliases) is a runtime file for unicode
which is generated by the
mktables utility using the file lib/unicore/PropValueAliases.txt.
One of the properties in PropValueAliases.txt is EastAsianWidth for which 'A'
is a value which
From: Jeff 'japhy' Pinyan [EMAIL PROTECTED]
To: Rajarshi Das [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], beginners@perl.org
Subject: Re: modify PVA.pl (z/OS and perl-5.8.6)
Date: Fri, 13 May 2005 07:30:44 -0400 (EDT)
On May 13, Rajarshi Das said:
PVA.pl (PVA stands for Property Value Aliases) is a
Ing. Branislav Gerzo wrote:
Johnstone, Colin [JC], on Friday, May 13, 2005 at 08:46 (+1000) made
these points:
JC How can I parse HTML to find comment tags
JC Specifically.
JC !--#include virtual
you can use simple regexp for this (not tested):
@tags = $html =~ /!--([^]+)/g;
!-- This is
Vladimir D Belousov [VDB], on Friday, May 13, 2005 at 17:14 (+0400)
typed:
JC !--#include virtual
you can use simple regexp for this (not tested):
@tags = $html =~ /!--([^]+)/g;
VDB !-- This is the comment. 53, Am I wrong? --
you are right. nothing be easier than edit my regexp to get:
Hi all,
I've written a small script that makes use of Finance::Bank::Wachovia,
to retrieve current account balances and transaction information. I
installed the module via CPAN.
I am getting a message that I don't know how to fix:
There is no form named authForm at
Hi all,
I keep receiving virtual memory error and program runtime error while using
XML:simple to process a 2GB XML file on Windows 2000. I have changed virtual
memory to 4 GB but still no use, so I wonder if anyone could offer some
help? Or is there any better module to process a 2GB XML file?
I keep receiving virtual memory error and program runtime error while using
XML:simple to process a 2GB XML file on Windows 2000. I have changed
virtual memory to 4 GB but still no use, so I wonder if anyone could offer
some help? Or is there any better module to process a 2GB XML file?
Clint Harshaw wrote:
Hi all,
I've written a small script that makes use of Finance::Bank::Wachovia,
to retrieve current account balances and transaction information. I
installed the module via CPAN.
I am getting a message that I don't know how to fix:
There is no form named authForm at
- Original Message -
From: Ing. Branislav Gerzo [EMAIL PROTECTED]
To: beginners@perl.org
Sent: Friday, May 13, 2005 8:24 AM
Subject: Re: Finding comment tags
Vladimir D Belousov [VDB], on Friday, May 13, 2005 at 17:14 (+0400)
typed:
JC !--#include virtual
you can use simple regexp
Wiggins d'Anconia wrote:
This is indicating that Wachovia's page no longer contains a form named
'authForm' so they have probably changed something slighltly and I
suspect Finance::Bank::Wachovia should be updated/checked to see if
anything else has changed. Though it sounds like not much
JupiterHost.Net wrote:
Hello group,
I was wanting opinions on what you think is better and why:
Assuming there are several places you need to check and see if the
script is being run via terminal or not, would it be better to:
if(-t STDIN) {
everytime *or* do it once:
my $isterminal = -t
Peter,
Thanks for the reply. I know my algorithm is not good (I have about 3 - 4
foreach in loops) but I have to do it in that way as the XML file is
somewhat a more plain stucture rather than a tree-like structure. I'll try
XML:Twig anyway.
Nan
From: Peter Rabbitson [EMAIL PROTECTED]
To:
Hello,
I am using the following to redirect STDERR and STDOUT:
open(STDOUT, $logfile) || die Can't redirect stdout;
open(STDERR, STDOUT) || die Can't dup stdout;
select(STDERR); $| = 1; # make unbuffered
select(STDOUT); $| = 1; # make unbuffered
..
close(STDOUT);
perlocean == perlocean [EMAIL PROTECTED] writes:
perlocean you mean, ?
perlocean @tags = $html =~ /!--\s*(.+?)\s*--/g;
And that's still wrong.
!-- in comment -- -- in comment -- -- in comment --
All three of those phrases are officially in comment. That's
because -- is actually a toggle,
Hi
I am getting a screen full of errors when trying to build Image::Magick
Note that the error starts with
gcc: unrecognized option `-pthread'
Looks like it can be compiled only in the multithreaded version of perl
5.8.0
Is there a get around if I want to install in the non-multithreaded
Randal L. Schwartz [RLS], on , , 2005 at 13:21 (-0700) has on mind:
perlocean you mean, ?
perlocean @tags = $html =~ /!--\s*(.+?)\s*--/g;
RLS And that's still wrong.
RLS !-- in comment -- -- in comment -- -- in comment --
RLS All three of those phrases are officially in comment. That's
RLS
I am about to start on a project that will be creating various excel files.
Cpan yields quite a number of posibilities, among which
Spreadsheet::WriteExcel looks most promising. I just wanted to hear some
opinions on the best tool for the job before I delve into a certain
inetrface.
The
Paul D. Kraus wrote:
I have a eps form that i use enscript to late the image 8 1/2 x 11. I
then so enscript to lay my ascii text onto of my form and send it out
via hylafax.
PRoblem is we want to start having better looking forms and I need a
way to postion text rather then doing it with newlines,
Nan Jiang [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
From: Peter Rabbitson [EMAIL PROTECTED]
To: beginners@perl.org
Subject: Re: Errors on processing 2GB XML file by using XML:Simple
Date: Fri, 13 May 2005 09:46:09 -0500
I keep receiving virtual memory error and program
Peter Scott [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Thu, 12 May 2005 21:10:44 +0530, Madhur Kashyap wrote:
The chunk of perl code written below shows the way I have been using
the scalar referencing technique available in perl.
$a=X15565/X123/35;
$b=n245;
Todd W wrote:
Peter Scott [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Thu, 12 May 2005 21:10:44 +0530, Madhur Kashyap wrote:
The chunk of perl code written below shows the way I have been using
the scalar referencing technique available in perl.
$a=X15565/X123/35;
$b=n245;
Hi All
i use pdf::API2-0.41 to creat pdf file
it work fine with English text but i need to writ an Arabic Text
when i put an arabic string in pdf file it display like this (ÈÓã Çááå)
i need help
thanks
Ashraf
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
29 matches
Mail list logo