On Mon, 2008-12-01 at 23:11 -0500, David wrote:
> >
> >The problem is the space character in the file name. Try:
> >
> >system "(df -mg;) >\"$fileLoc\" &";
>
>
> Shawn , that adjustment didn't work for me.
>
> sh: -c: line 1: syntax error near unexpected token
> `">/Users/mini/diskSpaceLog/081
The problem is the space character in the file name. Try:
system "(df -mg;) >\"$fileLoc\" &";
Shawn , that adjustment didn't work for me.
sh: -c: line 1: syntax error near unexpected token
`">/Users/mini/diskSpaceLog/081201 diskSpace.txt"'
sh: -c: line 1: `(df -mg;) ">/Users/mini/diskSpac
David wrote:
Thank you to all who helped me get a 6 digit date into perl. I certainly
heed warnings about not using outside system calls in perl however, I
have to make an outside call again.
#!/usr/bin/perl -w
use strict;
my $fileName = "081201 diskSpace.txt";
my $fileLoc = "/Users/mini/di
On Mon, 2008-12-01 at 22:18 -0500, David wrote:
> Thank you to all who helped me get a 6 digit date into perl. I
> certainly heed warnings about not using outside system calls in perl
> however, I have to make an outside call again.
>
>
>
> #!/usr/bin/perl -w
> use strict;
>
> my $fileName =
Thank you to all who helped me get a 6 digit date into perl. I
certainly heed warnings about not using outside system calls in perl
however, I have to make an outside call again.
#!/usr/bin/perl -w
use strict;
my $fileName = "081201 diskSpace.txt";
my $fileLoc = "/Users/mini/diskSpaceLog/$fi
On Mon, Dec 1, 2008 at 13:02, Rob Dixon <[EMAIL PROTECTED]> wrote:
> Chas. Owens wrote:
>>
>> It looks like there is an issue in the compilation of regexes that leaks
>> memory:
>>
>> perl -le 'qr// while 1'
>>
>> There does seem to be a fix*.
>>
>> * http://www.gossamer-threads.com/lists/perl/por
Dr.Ruud wrote:
Raymond Wan schreef:
"If you can't say anything nice, don't say anything at all".
I didn't read anything not nice, I only saw well meant critique. Some
people just can't accept their own misunderstandings, and then start
blaming the messenger. Most people are of course a
On Mon Dec 01 2008 @ 7:13, blake askew wrote:
> Thanks for the help John. I have made the changes you suggested and managed
> to get everything working properly. One more question though that is
> completely different, how do I allow users to specify switches on the
> command line in any order to
On Mon, 01 Dec 2008 20:37:03 +
[EMAIL PROTECTED] (Rob Dixon) wrote:
> Your concept that ideas are transportable
> across languages is time-wasting at least and could be dangerous.
>
I asked a "transportable" question for the first time of my entire life of
coding which involves several year
Hi -
I am trying to follow this thread :
http://www.nntp.perl.org/group/perl.par/2008/01/msg3325.html
I had success in compiling the module but the error extracting libeay32.dll
still remains.
Vishy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
On Mon, 01 Dec 2008 02:57:38 +0100
[EMAIL PROTECTED] ("Jenda Krynicky") wrote:
>
> OTOH, he can match the innermost [block]...[/block], remove it or
> replace by something that doesn't contain either "tag", match the
> next one ... It would not be pretty, but it would be doable.
>
And this w
Thanks for the help John. I have made the changes you suggested and managed
to get everything working properly. One more question though that is
completely different, how do I allow users to specify switches on the
command line in any order to be used in my program. For example, I want the
syntax t
On Mon Dec 01 2008 @ 12:04, Chas. Owens wrote:
> On Mon, Dec 1, 2008 at 08:23, Jeff Pang <[EMAIL PROTECTED]> wrote:
> > > Message du 01/12/08 11:38
> >> De : "howa"
> >> A : beginners@perl.org
> >> Copie à :
> >> Objet : How to make two perl work together?
> >>
> >>
> >> Hello,
> >>
> >> I have on
Canol Gökel wrote:
>
> Thanks people I already got the answer from somewhereelse.
>
> I can't quote the last reply, I guess I have a problem with my newsreader.
> But you even call me stupid. I heard before that Perl community is rude,
> and now I experienced it myself. I guess Perl community dese
Raymond Wan schreef:
> "If you can't say anything nice, don't say anything at all".
I didn't read anything not nice, I only saw well meant critique. Some
people just can't accept their own misunderstandings, and then start
blaming the messenger. Most people are of course a little like that -
phas
Chas. Owens wrote:
>
> It looks like there is an issue in the compilation of regexes that leaks
> memory:
>
> perl -le 'qr// while 1'
>
> There does seem to be a fix*.
>
> * http://www.gossamer-threads.com/lists/perl/porters/232045
Darn. I write empty regexes all the time. Back to Perl 4...
Dermot wrote:
> 2008/12/1 Rob Dixon <[EMAIL PROTECTED]>:
>> Dermot wrote:
>>> store.c:13: error: expected '=', ',', ';', 'asm' or '__attribute__'
>
>> You probably have a poor C compiler. Try changing the declaration to
>>
>> PerlInterpreter *my_perl;
>>
>> As long as it is in main it should
2008/12/1 Rob Dixon <[EMAIL PROTECTED]>:
> Dermot wrote:
>>
>> store.c:13: error: expected '=', ',', ';', 'asm' or '__attribute__'
>
> You probably have a poor C compiler. Try changing the declaration to
>
> PerlInterpreter *my_perl;
>
> As long as it is in main it should make no difference.
On Mon, Dec 1, 2008 at 08:23, Jeff Pang <[EMAIL PROTECTED]> wrote:
> > Message du 01/12/08 11:38
>> De : "howa"
>> A : beginners@perl.org
>> Copie à :
>> Objet : How to make two perl work together?
>>
>>
>> Hello,
>>
>> I have one perl (5.10) installed by my Ubuntu 8.10, as this version of
>> Perl
Dermot wrote:
> Hi,
>
> I am trying port an Custom Perl module from one server to another. The
> module uses C/XS and was built in 2001/2. I got the source and did
> `perl Makefile.PL; make`. There was an error in one .c file:
>
> ...
> store.c:592: error: 'my_perl' undeclared (first use in this
On Mon, Dec 1, 2008 at 5:01 PM, Andreas Moroder <
[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to parse ms .adm files. This files have a tree structure that
> look like
>
> Category Name1
> category Name2
>categor Name3
> Policy pol1
>data lines here
>...
> En
Hello,
I would like to parse ms .adm files. This files have a tree structure
that look like
Category Name1
category Name2
categor Name3
Policy pol1
data lines here
...
End policy
Policy pol2
data lines here
...
End policy
end ca
Hi,
I am trying port an Custom Perl module from one server to another. The
module uses C/XS and was built in 2001/2. I got the source and did
`perl Makefile.PL; make`. There was an error in one .c file:
...
store.c:592: error: 'my_perl' undeclared (first use in this function)
store.c:592: error:
Hi Meghanand,
Meghanand Acharekar wrote:
Thanks for your help
Your trick for Spamassassin worked there was some prob in spamassassin rules
I removed those lines and now its working fine.
You're welcome; that is a Spamassassin problem and you might want to ask
their mailing list about it
dippa wrote:
basic perl problem which is annoying me, the code is:
---
#!/usr/bin/perl -w
use strict;
my $string;
my $subString;
my @indexes;
print "Enter a string:\n";
chomp($string = );
print "\nEnter substring to search for:\n";
chomp($subString = );
## This while loop does what i'm after
> Message du 01/12/08 11:53
> De : "Meghanand Acharekar"
> A : "beginners"
> Copie à :
> Objet : Re: Perl Error with spamassassin
>
> Hello Raymond
>
> Thanks for your help
> Your trick for Spamassassin worked there was some prob in spamassassin rules
> I removed those lines and now its working fi
> Message du 01/12/08 11:38
> De : "howa"
> A : beginners@perl.org
> Copie à :
> Objet : How to make two perl work together?
>
>
> Hello,
>
> I have one perl (5.10) installed by my Ubuntu 8.10, as this version of
> Perl has
> memory leak issue with regex, so I compile another one into /opt/
> perl
dippa wrote:
>
> Trying to work out why:
> 1. the for loop does not work, want the same logic as the while loop
> 2. for(my $pos = -1; $pos == -1; $pos++) only iterates through once
> 3. for(my $pos = 0; $pos == -1; $pos++) does not enter loop at all
Because in both cases your while condition
Hello Raymond
Thanks for your help
Your trick for Spamassassin worked there was some prob in spamassassin rules
I removed those lines and now its working fine.
But not able to install perl module 'Mail::IMAPClient',
As far as I think this should be related with dependencies ( some modules
are mis
basic perl problem which is annoying me, the code is:
---
#!/usr/bin/perl -w
use strict;
my $string;
my $subString;
my @indexes;
print "Enter a string:\n";
chomp($string = );
print "\nEnter substring to search for:\n";
chomp($subString = );
## This while loop does what i'm after
#my $pos = -1;
Hello,
I have one perl (5.10) installed by my Ubuntu 8.10, as this version of
Perl has
memory leak issue with regex, so I compile another one into /opt/
perl5.8.9.
The problem is originally I installed some modules (via CPAN) cannot
be found by the new perl.
Do I need to install the modules agai
Hi Meghanand,
(I appended to your subject as your original one was very vague.)
Meghanand Acharekar wrote:
While running following IMAP learn script (see attachment) I am getting
following error message.
config: invalid regexp for rule OEM_SPAM: /Reinstall OEM with different
media???/i: N
32 matches
Mail list logo