Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] "Knoppix Boot Options . . ." ~= m/knoppix/troll/
- Date: Wed, 6 Jun 2007 16:08:17 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] "Knoppix Boot Options . . ." ~= m/knoppix/troll/
- References: <4663FE99.9090901@gol.com> <4665D5DF.3040300@gol.com> <878xaxyhgi.fsf@uwakimon.sk.tsukuba.ac.jp> <20070605215546.471d8fee.jep200404@columbus.rr.com> <d8fcc0800706051922u675fef8dxa720bc72c5a42e1d@mail.gmail.com> <20070605224754.2d5027de.jep200404@columbus.rr.com> <d8fcc0800706052026u2b4f2d3y21d1889d66fddb53@mail.gmail.com> <87y7ixwsm9.fsf@uwakimon.sk.tsukuba.ac.jp> <d8fcc0800706052309p393e8d5coc2df3b0d652ef813@mail.gmail.com> <87wsyhwpj1.fsf@uwakimon.sk.tsukuba.ac.jp>
On 06/06/07, Stephen J. Turnbull <stephen@example.com> wrote:
P.S. Don't run that perl without an audit, it's probably a virus. At least, I felt sick after writing it.
: jglover@example.com; perl -e 'use strict; use warnings; my $foo = "barf"; $foo = s/f$//;' Use of uninitialized value in substitution (s///) at -e line 1. : jglover@example.com; perl -e 'use strict; use warnings; my $foo = "barf"; $foo = s/f$//;' : jglover@example.com; perl -e '"Knoppix Boot Options . . ." ~= m/knoppix/troll/' Bareword found where operator expected at -e line 1, near "m/knoppix/troll" syntax error at -e line 1, near ""Knoppix Boot Options . . ." ~" Execution of -e aborted due to compilation errors.
Damn you!
I think you meant:
my $subject = "Knoppix Boot Options . . ."; $subject =~ s/knoppix/troll/i; print "$subject\n";
But to be fair, if I tried to write that same code in Python, I doubt it would compile either. :)
-josh
- Follow-Ups:
- Re: [tlug] "Knoppix Boot Options . . ." ~= m/knoppix/troll/
- From: Josh Glover
- Re: [tlug] "Knoppix Boot Options . . ." ~= m/knoppix/troll/
- From: Stephen J. Turnbull
- References:
- [tlug] Installing Linux on an Asus laptop
- From: David Bernat
- Re: [tlug] Installing Linux on an Asus laptop
- From: David Bernat
- Re: [tlug] Installing Linux on an Asus laptop
- From: Stephen J. Turnbull
- Re: [tlug] Installing Linux on an Asus laptop
- From: Jim
- Re: [tlug] Installing Linux on an Asus laptop
- From: Josh Glover
- Knoppix Boot Options . . . . . . . (was Re: [tlug] Installing Linux on an Asus laptop)
- From: Jim
- Re: Knoppix Boot Options . . . . . . . (was Re: [tlug] Installing Linux on an Asus laptop)
- From: Josh Glover
- Re: Knoppix Boot Options . . . . . . . (was Re: [tlug] Installing Linux on an Asus laptop)
- From: Stephen J. Turnbull
- Re: Knoppix Boot Options . . . . . . . (was Re: [tlug] Installing Linux on an Asus laptop)
- From: Josh Glover
- [tlug] "Knoppix Boot Options . . ." ~= m/knoppix/troll/
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] "Knoppix Boot Options . . ." ~= m/knoppix/troll/
- Next by Date: Re: [tlug] Installing Linux on an Asus laptop
- Previous by thread: [tlug] "Knoppix Boot Options . . ." ~= m/knoppix/troll/
- Next by thread: Re: [tlug] "Knoppix Boot Options . . ." ~= m/knoppix/troll/
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links