Hello out there,
i try to create a table with HTML:Template
for this I fill a array with hashes:
while ( $zeile = $result-fetchrow_arrayref )
{
$uebergabe{ name = $row-[0], link = $row-[1] };
push ( @suchprofile, \%uebergabe );
}
and give it to the template-object:
$tmpl-param ( vorname
Short Question:
Is type globbing of subroutines possible or not?
for something like
supersub(\smallsub);
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
Angerstein am Mittwoch, 22. Februar 2006 11.05:
Short Question:
Is type globbing of subroutines possible or not?
yes,
perl -le 'use warnings; use strict; \
sub sub1{1}; \
*sub2=\sub1; \
warn sub2(); \
'
for something like supersub(\smallsub);
This (passing a subroutine reference as argument
Angerstein wrote:
Short Question:
Is type globbing of subroutines possible or not?
It is possible but using references is the preferred method.
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm trying to build Math::Pari along the way to building Net::SFTP, but
the make fails with the following error:
pariinl.h: In function `mulssmod':
pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts
with asm clobber list
pariinl.h:887: confused by earlier errors, bailing out
One day, I'll start remembering this ist doesn't set reply-to...
On 2/22/06, Jay Savage [EMAIL PROTECTED] wrote:
On 2/21/06, Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote:
Timothy Johnson wrote:
I don't have time right now to run it, but I notice that you left
Hi Bruce,
Hex 0D 0A (Carriage Return Line Feed pair) is commonly used in Windows
to signify the end of a line of text. \n is supposed to generate an
end of line appropriate for the machine on which Perl is run. On
Windows, 0D 0A is ideal, but 0A often works the same. Hex 0A is also the
standard
Inpecting $@ and caller() after an eval will yield:
Error message (eval 6750):428
How does one view line 428. Are there formal hooks with which
(immediately following an eval) one can:
my $eval_number = ???;
my $eval_contents = ???( $eval_number );
The debugger seems to do a
I'm trying to pass an array to a subroutine. I'd like the subroutine to
create @f from the [EMAIL PROTECTED] that I send it, but I can't seem to
figure out
the syntax. Is there a way to replace my ???f??? with something to make
it work?
**
@a = (1,2,3,4);
Bryan R Harris wrote:
I'm trying to pass an array to a subroutine. I'd like the subroutine
to create @f from the [EMAIL PROTECTED] that I send it, but I can't seem
to
figure out the syntax. Is there a way to replace my ???f??? with
something to make it work?
Jay Savage wrote:
One day, I'll start remembering this ist doesn't set reply-to...
On 2/22/06, Jay Savage [EMAIL PROTECTED] wrote:
On 2/21/06, Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote:
Timothy Johnson wrote:
I don't have time right now to run it, but I
Hello perl fellows:
I encountered a problem when I was installing a perl
module. The httpd server related module was hanging
overnight when it was trying to test
http://localhost:X...
Today, I tested with my httpd server installation.
I found that I can view the webpage after I started
httpd
Here's one way, but if you create @f like you want to, then you will end
up working with a copy of your array instead of the original array
passed. That may or may not be what you want to do.
If you want to alter the contents of the original array, you will have
to use $f and dereference it.
zhou jian am Mittwoch, 22. Februar 2006 22.40:
Hello perl fellows:
Hi Paul
This is the wrong list for this question (see your subject) but:
I encountered a problem when I was installing a perl
module. The httpd server related module was hanging
overnight when it was trying to test
Perlers
I need to remove any line that begins with \d+ yet end with \s*
Here is the data
_BEGIN_DATA_
0 2005/09/23 17:25 221 100% -il-o-b---U- sf F02043
1 2005/06/03 04:11 524 100% -il-o-b---U- sf F02017
2 2005/06/10 00:12 592 100% -il-o-b---U- sf F02018
3
Do you mean like
unless($_ =~ /^\s*\d+\s*$/){
print $_;
}
?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 2:36 PM
To: beginners@perl.org
Subject: whitespace beginning and end
Perlers
I
[EMAIL PROTECTED] wrote:
Perlers
I need to remove any line that begins with \d+ yet end with \s*
Here is the data
_BEGIN_DATA_
0 2005/09/23 17:25 221 100% -il-o-b---U- sf F02043
72 2005/10/07 17:12 524 100% -il-o-b---U- sf H02053
73 2005/10/10 13:23 288 100%
Do you mean like
unless($_ =~ /^\s*\d+\s*$/){
print $_;
}
?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 2:36 PM
To: beginners@perl.org
Subject: whitespace beginning and end
[Blogged about it here: http://netmesh.info/jernst/Technical/perl-
inheritance-problem.html ]
There are three very simple classes in the following code: C is a
subclass of B, which is a subclass of A.
If I try to instantiate B (see last two lines of the code below), I'm
getting this
On 2/22/06, Johannes Ernst [EMAIL PROTECTED] wrote:
If I try to instantiate B (see last two lines of the code below), I'm
getting this output:
Point B: Exporter
Can't locate object method new via package B at madness.pl
line 23.
Did you know that B is a package name used
Johannes Ernst am Donnerstag, 23. Februar 2006 00.19:
[Blogged about it here: http://netmesh.info/jernst/Technical/perl-
inheritance-problem.html ]
There are three very simple classes in the following code: C is a
subclass of B, which is a subclass of A.
If I try to instantiate B (see last
-Original Message-
From: amit hetawal [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 16:00
To: Wagner, David --- Senior Programmer Analyst --- WGO
Subject: Re: RE: Re: Tri-grams?
hi there
the sequnce with alpha _ _ is valid but not _ _ _
I replaced the 4 four lines
Check that the entry
127.0.0.1 localhost
is present.
How to check the this entry? I added this entry to
httpd.conf and listen 127.0.0.1:80. However, I got the
error message. Do you have any other ideas?
I also checked. I am convinced that I didn't have
that configured in httpd.conf. How could
Thanks!
Regarding your note, out of curiosity, how will it help a lot in the end?
I've been scripting for almost 5 years now, and have produced 100 scripts
that are used in data analysis work by ~15 people, and have never used use
strict, nor declared any variables with my. Everybody says it's
Bryan Harris am Donnerstag, 23. Februar 2006 03.46:
Thanks!
Regarding your note, out of curiosity, how will it help a lot in the end?
I've been scripting for almost 5 years now, and have produced 100 scripts
that are used in data analysis work by ~15 people, and have never used use
strict,
[EMAIL PROTECTED] wrote:
Perlers
Hello,
I need to remove any line that begins with \d+ yet end with \s*
EVERY line ends with \s* so you want to remove every line?
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I have a Net::IRC application that uses a Win32::GUI interface. My GUI
is lagging and I was wondering what would be better to use and how would
I go about it. Should I fork the Net::IRC process (how?) or I've read
about Threads (not stable?). Any suggestions, hints, tips, LINKS to
27 matches
Mail list logo