On Sun, 24 Aug 2008, Rob Dixon wrote:
Patrick Dupre wrote:
It is a bit more complex.
I am a perl routine calling a Cpp routine,
I wrote the xs to interface the call.
I wrote the methods (in Cpp) for the Cpp class.
In fact I need to use a Minuit2 class.
One needs to call a function with is wri
Patrick Dupre wrote:
>
> It is a bit more complex.
>
> I am a perl routine calling a Cpp routine,
> I wrote the xs to interface the call.
> I wrote the methods (in Cpp) for the Cpp class.
> In fact I need to use a Minuit2 class.
> One needs to call a function with is written in perl (I had no dou
How can I modify my Makefile.PL to have a Makefile which can make
cc -o test.o -c test.c `perl -MExtUtils::Embed -e ccopts`
Thank
Makefile.PL is a program written using ExtUtils::MakeMaker to generate a
makefile for building a Perl /extension/ module.
ExtUtils::Embed is a module that will gene
On Thu, 21 Aug 2008 14:15:57 -0400, Moon, John wrote:
> How can I use a "constant" as a hash key?
Having to know the answer to this is one of the reasons that 'use
constant' is considered an inferior practice compared to
use Readonly;
Readonly my $CAT => 'A';
--
Peter Scott
http
In this case my code was actually good, the problem was with the input
file whice was, I am embarressed to say, empty.
> It would be good if you could explain your solution. This is a list for
> teaching
> Perl, not just for finding solutions to individual's problems. If you publish
> your workin
On 21 Aug., 20:04, [EMAIL PROTECTED] (Rich Murphy) wrote:
> Could anyone point me to a good site for pearl compiler download.
On windows I use the ActiveState distribution. They have a free PERL
interpreter too.
http://www.activestate.com/Products/activeperl/index.mhtml
--
To unsubscribe, e-ma
Find ran for hours without finding those, but I found a partial
solution. If you open the CPAN shell and type:
o conf makepl_arg install_base=
it will install working modules. This is a partial solution because it
has to be done with each session. It doesn't work to run cpan non-
interactively. I
David Allender schreef:
> I was wondering if i can send both parts of a multipart email.
> Basically what im trying to do is,
>
> send an email to a person with text/enriched text at the top of the
> email, and text/html at the bottom of the email. The reason being is
> so: Its a cgi that handle
kilaru rajeev wrote:
>
> I have a situation where I need to open a sftp connection, need to pull the
> file and have to verify receipt of local file after that have to rename the
> file in remote dir. For that, I wrote the following code. The code is giving
> the output given below and coming out
"Mr. Shawn H. Corey" schreef:
> On Thu, 2008-08-21 at 21:55 -0700, Noah wrote:
>> Is there a way to simplify the following to one line?
>> my $value = $t1lsq{$interfaceName};
>> $value = 4 if $value > 4;
>
> Simple in a Rube Goldberg's kind of way ;)
> ( $value ) = sort { $a <=> $b }
"Moon, John" schreef:
> How can I use a "constant" as a hash key?
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use constant FOO => 'bar';
my %hash;
$hash{ FOO } = 'one';
$hash{ +FOO } = 'two';
$hash{ 'FOO' } = 'three';
$hash{ -FOO } = 'four';
$hash{
Hi Everyone,
I have a situation where I need to open a sftp connection, need to pull the
file and have to verify receipt of local file after that have to rename the
file in remote dir. For that, I wrote the following code. The code is giving
the output given below and coming out of the program. Bu
12 matches
Mail list logo