Chas. Owens wrote:
On May 11, 2008, at 18:04, Richard Lee wrote:
I just looked it up on perldoc perlvar, but I am still not sure what
it does.
$^I The current value of the inplace-edit extension. Use "undef"
to disable inplace editing. (Mnemonic: value of -i
switch.)
I
On May 11, 2008, at 18:04, Richard Lee wrote:
I just looked it up on perldoc perlvar, but I am still not sure what
it does.
$^I The current value of the inplace-edit extension. Use
"undef" to disable inplace editing. (Mnemonic: value of -i
switch.)
I was reading perl c
I just looked it up on perldoc perlvar, but I am still not sure what it
does.
$^I The current value of the inplace-edit extension. Use "undef"
to disable inplace editing. (Mnemonic: value of -i
switch.)
I was reading perl cookbook and saw this example, and was wondering
On May 11, 12:57 am, [EMAIL PROTECTED] (Hotkitty) wrote:
> I've been trying to setup a connection w/ a shared server at
> godaddy.com. The script won't work and when I called them they tell me
> that because I don't have a dedicated server that I can't run a perl
> script and so I need to upgrade m
- Original Message -
From: ""Johnson Lau"" <[EMAIL PROTECTED]>
Newsgroups: perl.beginners
To:
Sent: Sunday, May 11, 2008 1:09 AM
Subject: comparing two binary numbers
Dear all,
I need to compare two binary numbers and need perl to return the
number of matching bits.
For example:
Jenda Krynicky wrote:
>
> Only the loops that need to be labeled should be labeled.
I agree. Apart from your spelling of 'labelled' :)
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Sun, May 11, 2008 at 6:57 AM, hotkitty <[EMAIL PROTECTED]> wrote:
> I've been trying to setup a connection w/ a shared server at
> godaddy.com. The script won't work and when I called them they tell me
> that because I don't have a dedicated server that I can't run a perl
> script and so I need
don't forget to instal perl-support for vim:
http://www.vim.org/scripts/script.php?script_id=556
here is the desc:
description - insert various types of comments
- insert complete but empty statements (e.g. 'if {} else {}' )
- insert often used code snippets (e.g. declarations, the opening of
From: Peter Scott <[EMAIL PROTECTED]>
> On Sun, 11 May 2008 02:05:06 +0200, Jenda Krynicky wrote:
> > You do not need the label unless you need to jump out of some other
> > loop than the innermost. In this case there are no nested loops so it
> > would probably be better to skip the label.
>
>
hotkitty schreef:
> I've been reading through the modules and the link you provided but it
> seems pretty involved. I don't think it should be very difficult: all
> that I am trying to do is create a multi-page PDF file with text in
> it. Isn't there an easier way to do that?
Alternatives to cons
On Sun, 11 May 2008 02:05:06 +0200, Jenda Krynicky wrote:
> You do not need the label unless you need to jump out of some other
> loop than the innermost. In this case there are no nested loops so it
> would probably be better to skip the label.
While I personally program the way you suggest, ta
hotkitty wrote:
>
> Well, it should be a pretty straightforward thing, right?
No. Sizing and placing text in a page isn't trivial, and people pay huge amounts
of money for DTP software to achieve it conveniently.
> There has to be someone, somewhere that has taken text and created a pdf file
> w
I've been trying to setup a connection w/ a shared server at
godaddy.com. The script won't work and when I called them they tell me
that because I don't have a dedicated server that I can't run a perl
script and so I need to upgrade my account. I can access the shared
server w/ PHPwhy can't I d
On May 11, 3:09 pm, [EMAIL PROTECTED] (Johnson Lau) wrote:
> Dear all,
>
> I need to compare two binary numbers and need perl to return the
> number of matching bits.
>
> For example:
>
> $aaa = "1000";
> $bbb = "00101100";
>
> In this case, the number of matching bits is 6.
>
use strict;
use
On May 9, 11:50 am, [EMAIL PROTECTED] (Rob Dixon) wrote:
> hotkittywrote:
> > On May 7, 8:40 am, [EMAIL PROTECTED] (Rob Dixon) wrote:
> >>hotkittywrote:
> >>> First and foremost thanks for all the help I've received on this
> >>> board, especially Gunnar who keeps this place running!
> >>> I've com
On May 9, 11:50 am, [EMAIL PROTECTED] (Rob Dixon) wrote:
> hotkittywrote:
> > On May 7, 8:40 am, [EMAIL PROTECTED] (Rob Dixon) wrote:
> >>hotkittywrote:
> >>> First and foremost thanks for all the help I've received on this
> >>> board, especially Gunnar who keeps this place running!
> >>> I've com
Richard Lee schreef:
> I use this before (split slice ) but it's working bit funny now..
> it looks like it's splitting on '' instead of /|/ as I have specified
> below... ??
Look for quotemeta in perlre.
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
"Tony Heal" schreef:
> I need to remove all messages older than X from a gigabyte size mbox.
> Anyone got a script for this?
You can use formail to split up the mbox, see `man formail`.
Then check the date in the postmark line (always the first line, the one
that starts with From).
That date loo
"Johnson Lau" schreef:
> I need to compare two binary numbers and need perl to return the
> number of matching bits.
>
> For example:
>
> $aaa = "1000";
> $bbb = "00101100";
>
> In this case, the number of matching bits is 6.
perl -Mstrict -Mwarnings -le'
my $b1 = "1000";
my $b2 =
On 5/11/08, Johnson Lau <[EMAIL PROTECTED]> wrote:
>
> Dear all,
>
> I need to compare two binary numbers and need perl to return the
> number of matching bits.
>
> For example:
>
> $aaa = "1000";
> $bbb = "00101100";
>
> In this case, the number of matching bits is 6.
>
> I know I could split
20 matches
Mail list logo