I have used ActiveState perlapp, and it works the best.
Indigo Star perl2exe works fine, but I found that it might give errors.
Maybe I was doing something wrong.
PAR is a free package that can create .exe files that can be downloaded from
CPAN. It works pretty well, but I found that it creates big
K.Moeng <[EMAIL PROTECTED]> asked:
> I have rephrased my question from yesterday,
>
> I want to be able to ignore the white space in between ROAM
> and ACT that is return the query as ROAM ACT without falling
> to the else statement.
>
> $msg = $ARGV[0];
>
> $msg =~ s/\"/' /ig;
You do not hav
Hi,
To ignore the white space in between ROAM and ACT use /x modifier of
Perl RE to extend your pattern's legibility by permitting whitespace
and comments. Hope that will serve your purpose.
Instead of
if ($msg =~ /roam act/i)
Use
if ($msg =~ /roam act/ix)
Regards,
Suvajit
K.Moeng wrote
Elie De Brauwer wrote:
K.Moeng wrote:
Hello again,
I have rephrased my question from yesterday,
I want to be able to ignore the white space in between ROAM and ACT
that is return the query as ROAM ACT without falling to the else
statement.
$msg = $ARGV[0];
$msg =~ s/\"/' /ig;
$found = 0;
Hi K.Moeng -
At 2005-10-18, 20:00:28 you wrote:
>Hello again,
>
>I have rephrased my question from yesterday,
>
>I want to be able to ignore the white space in between ROAM and ACT
>that is return the query as ROAM ACT without falling to the else statement.
>
>$msg = $ARGV[0];
>
>$msg =~ s/\"/'
K.Moeng wrote:
Hello again,
I have rephrased my question from yesterday,
I want to be able to ignore the white space in between ROAM and ACT
that is return the query as ROAM ACT without falling to the else statement.
$msg = $ARGV[0];
$msg =~ s/\"/' /ig;
$found = 0;
if ($msg =~ /roam act/i)
Hello again,
I have rephrased my question from yesterday,
I want to be able to ignore the white space in between ROAM and ACT
that is return the query as ROAM ACT without falling to the else statement.
$msg = $ARGV[0];
$msg =~ s/\"/' /ig;
$found = 0;
if ($msg =~ /roam act/i)
{
$name = 'ACTiv
> OK,
>
> If i execute it this way,
> C:\perl activate.pl 26771214478 ROAM ACT
>
> activate.pl is the name of the file
> 26771214478 is the $source
> "Roam ACT" is the 2 query strings
>
> hopes it makes sense
>
>
>
>
> - Original Message -
> From: "Xavier Noria" <[EMAIL
Jeff 'japhy' Pinyan wrote:
On Oct 18, Daniel Kasak said:
I've got an OO object that I want to destroy from inside the object
itself.
sub destroy_self {
my $self = shift;
$self = undef;
}
But this doesn't work. What is the correct way of doing it?
That's because you're not getting rid o
There are three products that I know of, but two of them cost money.
ActiveState has a great Perl Dev Kit that includes PerlApp, which will
package your perl script, modules, and interpreter into an executable.
It works very well. You also get some other great utilities with it,
like PerlSvc, wh
> I am running Active State Perl on my PC and want to build a
> .exe. Does anyone know the command for that?
Although I have only ever built one Perl app on Windows and develop
everything on Unix, I found the following to work tremendously well for
what you want to do:
http://www.indigostar.com
Hello everyone,
I am running Active State Perl on my PC and want to build a .exe. Does anyone
know the command for that?
Thanks,
Kathy
-
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
On 10/18/05, Gert <[EMAIL PROTECTED]> wrote:
> in the example below I am using Digest::MD5 for computing the md5-checksum
> for a string. The first solution uses the function md5_hex, the second way
> uses the OO method hexdigest. The results are not equal. Shouldn't they be
> equal? I think they s
K.Moeng wrote:
hello.
Hello,
Here is my problem. i am unable to return the 2 strings as true.
you're not returning anything anywhere...
it false back to the else statement.
have you tried printing $msg to see what it contains to manually verify
it matches what you think it matches?
hello.
Here is my problem. i am unable to return the 2 strings as true. it false back
to the else statement.
use lib '/usr/lib/perl5';
use POSIX qw(strftime);
GET ARGS ##
$source = $ARGV[0];
$msg = $ARGV[1];
$msg =~ s/\"/' /ig;#$msg =~ s/"/' /i
Hello,
in the example below I am using Digest::MD5 for computing the md5-checksum
for a string. The first solution uses the function md5_hex, the second way
uses the OO method hexdigest. The results are not equal. Shouldn't they be
equal? I think they should?
On Oct 18, 2005, at 18:13, K.Moeng wrote:
Here is my problem. i am unable to return the 2 strings as true. it
false back to the else statement.
Could you please reword the problem? Which strings? Where is the
comparison? Back to where? How can you go back to an else?
-- fxn
--
To unsubs
hello.
Here is my problem. i am unable to return the 2 strings as true. it false back
to the else statement.
use lib '/usr/lib/perl5';
use POSIX qw(strftime);
GET ARGS ##
$source = $ARGV[0];
$msg = $ARGV[1];
$msg =~ s/\"/' /ig;#$msg =~ s/"/' /
On Mon, 17 Oct 2005, O'Brien, Bill wrote:
> I have this so far but it is not allowing sudo, just wondering if it
> is NET::SSH or that RSA type of SSH we are running? I have tried to
> pass numerous commands but that doesn't seem to work, how can I run
> numerous commands via the single SSH co
On Oct 18, Daniel Kasak said:
I've got an OO object that I want to destroy from inside the object itself.
sub destroy_self {
my $self = shift;
$self = undef;
}
But this doesn't work. What is the correct way of doing it?
That's because you're not getting rid of the CONTENTS of the object,
M. Lewis ha scritto:
Thanks Thomas. Appreciated.
Thomas Bätzler wrote:
Hi,
M. Lewis <[EMAIL PROTECTED]> asked:
Charles K. Clarkson recently replied to Sreedhar Reddy in which one
of the corrections he made was:
open my $fh, '<', $input_file or die qq(Cannot open "$input_file": $!);
[...
--cut--
> sub destroy_self {
>
>my $self = shift;
>$self = undef;
>
> }
--cut--
The destroy method must be named DESTROY ( case-sensitive )
So you would have to do:
sub DESTROY {
my $self = shift;
undef $self;
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
> > We have an Alcatel CORBA 5620 gateway from which we have extract
> > information. Does anyone know of a module that would enable Perl
to
> > access this service?
> >
> > I searched the CPAN's archive but could not find anything.
> Apologies
> > if this is the wrong list to ask - which would be
23 matches
Mail list logo