Hello,
I have a quite common problem : portability :(
I wrote a Perl script that works perfectly under Linux with Perl 5.8.8. Very
confident, I try to run it under Windows with the lastest release of
ActivePerl, and all required modules. But annoyances come quickly :(
Perl returns me an error mess
> Hello,
>
> I have to write a "daemon" in Perl, with the quite simple structure below :
>
> sub test {
>while(1) {
> Oracle database connection;
> $state = result of a database query;
>
> if ( $state == 1 ) {
> call to another function;
> }
>}
> }
>
> My fu
Hello,
I have to write a "daemon" in Perl, with the quite simple structure below :
sub test {
while(1) {
Oracle database connection;
$state = result of a database query;
if ( $state == 1 ) {
call to another function;
}
}
}
My function "test" works and make
Hi,
I'm currently trying to find a good way to modify a string. A program returns me
a MAC address under the form 0a0a0a0a0a0a, and I would like to tranform it to
obtain : 0a:0a:0a:0a:0a:0a
I found a such dirty way !! (I think) to do this job :
my $mac = '0a0a0a0a0a0a';
my @list;
$list[0] = subs
Your idea was looking great. But what a pity, after some tests, List::Compare
doesn't seem to handle this kind of structure. :-(
Selon David Romano <[EMAIL PROTECTED]>:
> Hello,
> On 5/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I'm not a Perl guru so I (still) have pro
Hello,
I'm not a Perl guru so I (still) have problems :-)
I use the following date structure, quite "classic" : a list of lists. I have
two instances of this structure, let's take a simple example :
list 1 : [ [toto,tata],[toto,titi] ]
list 2 : [ [toto,tutu],[tata,titi],[toto,titi] ]
My question