[29321] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 565 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Jun 23 16:10:12 2007

Date: Sat, 23 Jun 2007 13:09:11 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sat, 23 Jun 2007     Volume: 11 Number: 565

Today's topics:
    Re: array not working as a hash value. <rvtol+news@isolution.nl>
    Re: FAQ 1.14 What is a JAPH? <brian.d.foy@gmail.com>
    Re: FAQ 1.15 Where can I get a list of Larry Wall witti <bik.mido@tiscalinet.it>
    Re: FAQ 1.15 Where can I get a list of Larry Wall witti  krakle@visto.com
    Re: FAQ 1.15 Where can I get a list of Larry Wall witti <brian.d.foy@gmail.com>
    Re: FAQ 1.15 Where can I get a list of Larry Wall witti <bik.mido@tiscalinet.it>
    Re: FAQ 1.6 What is perl6? <bik.mido@tiscalinet.it>
    Re: FAQ 1.6 What is perl6? <uri@stemsystems.com>
    Re: FAQ 1.6 What is perl6? <brian.d.foy@gmail.com>
    Re: FAQ 1.6 What is perl6? <bik.mido@tiscalinet.it>
    Re: FAQ 1.6 What is perl6? <bik.mido@tiscalinet.it>
    Re: Help: About 'if' structure <bik.mido@tiscalinet.it>
    Re: Help: About 'if' structure <tadmc@seesig.invalid>
    Re: Help: About 'if' structure <bik.mido@tiscalinet.it>
    Re: Perl Best Practices - Code Formatting. <bik.mido@tiscalinet.it>
    Re: Perl Best Practices - Code Formatting. <uri@stemsystems.com>
    Re: Perl Best Practices - Code Formatting. <uri@stemsystems.com>
    Re: Perl Best Practices - Code Formatting. <tadmc@seesig.invalid>
    Re: Perl Best Practices - Code Formatting. <bik.mido@tiscalinet.it>
    Re: Perl Best Practices - Code Formatting. <bik.mido@tiscalinet.it>
    Re: Perl Best Practices - Code Formatting. <uri@stemsystems.com>
    Re: Perl Best Practices - Code Formatting. <uri@stemsystems.com>
    Re: Perl Best Practices - Code Formatting. <uri@stemsystems.com>
    Re: The Modernization of Emacs: terminology buffer and  <david.golden@oceanfree.net>
    Re: The Modernization of Emacs: terminology buffer and  <borud-news@borud.no>
    Re: The Modernization of Emacs: terminology buffer and  <mkb@incubus.de>
    Re: The Modernization of Emacs: terminology buffer and  <dak@gnu.org>
        uninitialized value  jan09876@hotmail.com
    Re: why we need perl6 if we have parrort? <bik.mido@tiscalinet.it>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Sat, 23 Jun 2007 17:07:20 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: array not working as a hash value.
Message-Id: <f5jk93.164.1@news.isolution.nl>

usaims schreef:

> my @range_one = (14, 15, 16);
> my @range_two = (23, 24, 25);

If you number your variables, strongly consider arrays.

For example (mixing several Perl-styles):

#!/usr/bin/perl
  use warnings;
  use strict;

  my $base = "10.230.0.";

  my @ranges = (
    [14..16],
    [23..25],
    [0..7],
  );

  print "What range do you want to check on?\n";

  my $choice;

  for my $r ( 0 .. $#ranges ) {
    my $n = $ranges[ $r ];
    $choice = $r + 1;
    print "Press ($choice) and <ENTER> for Range $choice
[$base$n->[0]-$n->[-1]]\n";
  }

  $choice = 0 + <STDIN>;
  $choice >= 1 and $choice <= @ranges
    or die "Wrong Range: $choice\n";

  print "$base$_\n" for @{$ranges[ $choice - 1 ]};

-- 
Affijn, Ruud

"Gewoon is een tijger."



------------------------------

Date: Sat, 23 Jun 2007 11:38:32 -0500
From: brian d  foy <brian.d.foy@gmail.com>
Subject: Re: FAQ 1.14 What is a JAPH?
Message-Id: <230620071138326197%brian.d.foy@gmail.com>

In article <f5j503$79b$1@reader2.panix.com>, Steven M. O'Neill
<steveo@panix.com> wrote:

> PerlFAQ Server  <brian@stonehenge.com> wrote:
> >            print "Just another Perl hacker,";
> >
> >    Note the trailing comma and space [...]
> 
> I'm trying, but am unable to note a space.

Fixed, thanks.

-- 
Posted via a free Usenet account from http://www.teranews.com



------------------------------

Date: Sat, 23 Jun 2007 17:08:51 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: FAQ 1.15 Where can I get a list of Larry Wall witticisms?
Message-Id: <6odq73tntsne7s4d38b2fsvpt8k6qi0p8a@4ax.com>

On Sat, 23 Jun 2007 06:03:02 -0700, PerlFAQ Server
<brian@stonehenge.com> wrote:

>1.15: Where can I get a list of Larry Wall witticisms?

BTW: "tinita" maintains a list of Perl quotes at
<http://www.perlquotes.de/>. Seems not to be updated anymore, lately.
Sometimes I grab random ones and put them in my .sig's, I bet there
are some (including ones from $Larry - mostly taken from p6l, when I
was there) which are both witty and not that widly known...


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 09:06:21 -0700
From:  krakle@visto.com
Subject: Re: FAQ 1.15 Where can I get a list of Larry Wall witticisms?
Message-Id: <1182614781.533070.308040@c77g2000hse.googlegroups.com>

On Jun 23, 8:03 am, PerlFAQ Server <b...@stonehenge.com> wrote:
>
> 1.15: Where can I get a list of Larry Wall witticisms?
>

I find it hard to believe that this is a Frequently Asked Question.



------------------------------

Date: Sat, 23 Jun 2007 11:36:58 -0500
From: brian d  foy <brian.d.foy@gmail.com>
Subject: Re: FAQ 1.15 Where can I get a list of Larry Wall witticisms?
Message-Id: <230620071136580508%brian.d.foy@gmail.com>

In article <1182614781.533070.308040@c77g2000hse.googlegroups.com>,
<krakle@visto.com> wrote:

> On Jun 23, 8:03 am, PerlFAQ Server <b...@stonehenge.com> wrote:
> >
> > 1.15: Where can I get a list of Larry Wall witticisms?

> I find it hard to believe that this is a Frequently Asked Question.

It's not asked as frequently as it used to be, but I'm not going to
remove it. :)

-- 
Posted via a free Usenet account from http://www.teranews.com



------------------------------

Date: Sat, 23 Jun 2007 20:43:22 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: FAQ 1.15 Where can I get a list of Larry Wall witticisms?
Message-Id: <edqq73puro00pivartr95f90bea24521hd@4ax.com>

On Sat, 23 Jun 2007 09:06:21 -0700, krakle@visto.com wrote:

>> 1.15: Where can I get a list of Larry Wall witticisms?
>>
>
>I find it hard to believe that this is a Frequently Asked Question.

Many FAQ entries are not really FAQ, but what's wrong with having them
anyway?


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 17:16:43 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: FAQ 1.6 What is perl6?
Message-Id: <t0eq731986r1vi02ihr91jmn6gchvcok8a@4ax.com>

On Sat, 23 Jun 2007 04:56:30 GMT, Uri Guttman <uri@stemsystems.com>
wrote:

>  PG> Perl core contains a declaration. This is the "our" declaration
>  PG> for global variables. This declaration is to fix the broken
>  PG> strict module. Crazy, yes? Writing perl core to repair a
[snip]
>typical crapola from moronzilla, confusing syntax (all perl syntax is
>correct for perl syntax) from semantics. my doesn't declare globals
>either. my declares lexicals. look that one up.

Oh no! Not the "our to fix the broken strick" braindeadmantra again...
Did you really feel compelled to quote it so that even those of us who
killfile the thingie would have to read it?

>  PG> "Don't use globals! Don't use an our declaration!" None know
>  PG> why, no thinking behind this, rather monkey see, monkey do.
>  PG> The false Gods of Perl scream this, so all the mindless minions
>  PG> join in on this screaming. They have not a clue why, however.
>
>globals are bad and not good in any language. but you wouldn't
>understand that anyhow. i write this for others to realize how little
>you know.

Uri, no need to! Please... everytime I read these interventions of
yours I start wondering who is the most moronic of you and it: do you
*really* expect anyone in his or her sane state of mind not to have at
least a clue out of its style, prose and stuff like "The false Gods of
Perl".


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 16:32:57 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: FAQ 1.6 What is perl6?
Message-Id: <x7myyqbphi.fsf@mail.sysarch.com>

>>>>> "MD" == Michele Dondi <bik.mido@tiscalinet.it> writes:

  MD> Uri, no need to! Please... everytime I read these interventions of
  MD> yours I start wondering who is the most moronic of you and it: do you
  MD> *really* expect anyone in his or her sane state of mind not to have at
  MD> least a clue out of its style, prose and stuff like "The false Gods of
  MD> Perl".

i do this (not as often) for google and posterity. people who search and
find moronzilla posts will also find rebuttals. notice that moronzilla
never gets into existing threads and only goes after newbies (and
occaisionally hooks them). call this a precautionary measure.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

Date: Sat, 23 Jun 2007 11:40:17 -0500
From: brian d  foy <brian.d.foy@gmail.com>
Subject: Re: FAQ 1.6 What is perl6?
Message-Id: <230620071140172449%brian.d.foy@gmail.com>

In article <e84q73dcmbtfa0fu75c4nmq1nkggiv783a@4ax.com>, Michele Dondi
<bik.mido@tiscalinet.it> wrote:

> On Tue, 10 Apr 2007 00:03:02 -0700, PerlFAQ Server
> <brian@stonehenge.com> wrote:
> 
> >1.6: What is perl6?
> 
> Isn't this a partial duplicate of "1.4: What are perl4, perl5, or
> perl6?"
> 
> How about merging the two entries?

I'll have to think about that. We might not need the ones for 4 or 5 :)

-- 
Posted via a free Usenet account from http://www.teranews.com



------------------------------

Date: Sat, 23 Jun 2007 20:47:53 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: FAQ 1.6 What is perl6?
Message-Id: <ifqq73549p5f2eccghj7r4ju2kcaa4fnju@4ax.com>

On Sat, 23 Jun 2007 16:32:57 GMT, Uri Guttman <uri@stemsystems.com>
wrote:

>i do this (not as often) for google and posterity. people who search and
>find moronzilla posts will also find rebuttals. notice that moronzilla
>never gets into existing threads and only goes after newbies (and
>occaisionally hooks them). call this a precautionary measure.

Your obsession. And a disservice to most of us, newbies included.
Morons will go after it, but others will know better. The loss in
terms of energy and utterances lost in this desperate fight
overweights the potential gain of newbies not being dran in its
Evil(TM) plans. Oh, c'mon... you're talking about it just as if it
were Scientology or so...


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 20:51:04 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: FAQ 1.6 What is perl6?
Message-Id: <bnqq73p09mn474u21849qqva8evfi7npqm@4ax.com>

On Sat, 23 Jun 2007 11:40:17 -0500, brian d  foy
<brian.d.foy@gmail.com> wrote:

>> >1.6: What is perl6?
>> 
>> Isn't this a partial duplicate of "1.4: What are perl4, perl5, or
>> perl6?"
>> 
>> How about merging the two entries?
>
>I'll have to think about that. We might not need the ones for 4 or 5 :)

Also, how 'bout the spelling? The subject matter is debatable and
routinely debated, but in fact $Larry and most @Larry's that I know of
prefer s/(erl)([56])/$1 $2/g; but for searching purposes (only)
perhaps the other way round is preferable.


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 17:28:52 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: Help: About 'if' structure
Message-Id: <iteq73hp06511nddkt4sgtv3br6envfbtc@4ax.com>

On Sat, 23 Jun 2007 21:37:09 +0800, "Amy Lee"
<openlinuxsource@gmail.com> wrote:

>And Furthermore, if I wanna use "OR", how to accomplish it in perl?

Given that and and && were the solution to your "AND" question, it
surprisingly turns out that or and || are those to the current one.
Also surprisingly, this is clearly explained in the same document you
have already been pointed to, which is

  perldoc perlop

and which I encourage you to read in its entirety. It's an awesome
reading, I guarantee!


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 08:45:17 -0500
From: Tad McClellan <tadmc@seesig.invalid>
Subject: Re: Help: About 'if' structure
Message-Id: <slrnf7q8vd.gr4.tadmc@tadmc30.sbcglobal.net>

Amy Lee <openlinuxsource@gmail.com> wrote:

> And Furthermore, if I wanna use "OR", how to accomplish it in perl?


"or" or "||"

You should check the documentation for the software you use *before*
asking hundreds of people around the world to read it to you.


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


------------------------------

Date: Sat, 23 Jun 2007 20:55:28 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: Help: About 'if' structure
Message-Id: <u3rq73hv734brdnhmkharbhm166mtea9t6@4ax.com>

On Sat, 23 Jun 2007 14:33:30 -0000, Paul Lalli <mritty@gmail.com>
wrote:

>You've run out of free fish.  Time to learn how to fish.

She'll tell you she's too hungry to lose her time playing games with
lines and hooks!  ;-)


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 17:22:11 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: Perl Best Practices - Code Formatting.
Message-Id: <mgeq731jhpmgo8gib1nn3qdsbcg2urcu0n@4ax.com>

On Sat, 23 Jun 2007 05:43:52 +0200, "Petr Vileta"
<stoupa@practisoft.cz> wrote:

>I don't want to start flamewar but what is nicer for eyes?
>
>if($something {

I don't want to start flamewar but *all* of your examples look like an
if next to an open paren, which makes for poor readability of the
C<if> itself, *and* also like examples of missing closing paren. Both
make my eyes bleed!  :-)


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 16:38:57 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Perl Best Practices - Code Formatting.
Message-Id: <x7ir9ebp7i.fsf@mail.sysarch.com>

>>>>> "MD" == Michele Dondi <bik.mido@tiscalinet.it> writes:

  MD> On Fri, 22 Jun 2007 12:10:20 -0700, "Wayne M. Poe"
  MD> <louisREMOVE@REMOVEh4h.com> wrote:

  >> Personally I find a greator problem in working with code that uses one 
  >> or more differnce intent spacings (I tend to use 3, but have worked with 
  >> people who prefer 4, 5 or even 8, and soemtiems they are raw spaces and 
  >> soemtiems raw tabs.

  MD> Yep, and then there' a *fantastic* PM freak exposing his "arguement in
  MD> favor of tabs" at <http://perlmonks.org/?node_id=576936>.

actually damian (and myself) support raw tabs for indent. the reason is
that the actual tab count is the actual indent in all cases. there is no
need to deal with variable spaces or mixed spaces and tabs. almost all
decent editors can display the tabs as any width of spaces so you can
see it the way you want but the indent is just tabs.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

Date: Sat, 23 Jun 2007 16:40:31 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Perl Best Practices - Code Formatting.
Message-Id: <x7ejk2bp4x.fsf@mail.sysarch.com>

>>>>> "MD" == Michele Dondi <bik.mido@tiscalinet.it> writes:

  MD> On Fri, 22 Jun 2007 12:17:50 -0700, "Vronans"
  MD> <vronans@nowheresville.spamwall> wrote:

  >> No offense, but it's difficult to ignore "trivial formatting" when you 
  >> cannot even use proper quoting delimiters. I think you have bene asked 
  >> countless times to fix that. There are some basic stanards one -should- 
  >> adhere too, or at least try to stay close to. Standard quoting falls 
  >> right into that catagory so why not stop breaking news reader quote 
  >> processing abroad? 

  MD> While I sort of agree with you, Abigail's skills and precious
  MD> contributions overweight too much the slight inconvenience for me to
  MD> really care. OTOH I'm much more disturbed by the habit of another
  MD> regular here, with whom I've already complained to no avail, about
  MD> writing *everything* lowercase. Funnily enough $Larry wrote about the
  MD> subject:

ARE YOU IMPLYING SOMETHING!!!??? COME TO YAPC::HOUSTON AND I WILL GIVE A
PIECE OF MY MIND!!!!

:)

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

Date: Sat, 23 Jun 2007 13:42:37 -0500
From: Tad McClellan <tadmc@seesig.invalid>
Subject: Re: Perl Best Practices - Code Formatting.
Message-Id: <slrnf7qqct.k4d.tadmc@tadmc30.sbcglobal.net>

Uri Guttman <uri@stemsystems.com> wrote:

> COME TO YAPC::HOUSTON AND I WILL GIVE A
> PIECE OF MY MIND!!!!


as if you had any to spare...


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


------------------------------

Date: Sat, 23 Jun 2007 20:53:04 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: Perl Best Practices - Code Formatting.
Message-Id: <2uqq73dmkjllcrm5116o1j08ejpg96fpq3@4ax.com>

On Sat, 23 Jun 2007 16:38:57 GMT, Uri Guttman <uri@stemsystems.com>
wrote:

>  MD> Yep, and then there' a *fantastic* PM freak exposing his "arguement in
>  MD> favor of tabs" at <http://perlmonks.org/?node_id=576936>.
>
>actually damian (and myself) support raw tabs for indent. the reason is
>that the actual tab count is the actual indent in all cases. there is no
>need to deal with variable spaces or mixed spaces and tabs. almost all
>decent editors can display the tabs as any width of spaces so you can
>see it the way you want but the indent is just tabs.

Then perhaps you should support the purported "biological descendant
of Jesus". (To quote from his homenode.)


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 20:53:56 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: Perl Best Practices - Code Formatting.
Message-Id: <i1rq731ec0hqq0mv1hcsf5gebqsiuut2lg@4ax.com>

On Sat, 23 Jun 2007 16:40:31 GMT, Uri Guttman <uri@stemsystems.com>
wrote:

>ARE YOU IMPLYING SOMETHING!!!??? COME TO YAPC::HOUSTON AND I WILL GIVE A
>PIECE OF MY MIND!!!!

I can't friggin' believe that!


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Sat, 23 Jun 2007 18:59:19 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Perl Best Practices - Code Formatting.
Message-Id: <x7k5tua45f.fsf@mail.sysarch.com>

>>>>> "MD" == Michele Dondi <bik.mido@tiscalinet.it> writes:

  MD> On Sat, 23 Jun 2007 16:38:57 GMT, Uri Guttman <uri@stemsystems.com>
  MD> wrote:

  MD> Yep, and then there' a *fantastic* PM freak exposing his "arguement in
  MD> favor of tabs" at <http://perlmonks.org/?node_id=576936>.
  >> 
  >> actually damian (and myself) support raw tabs for indent. the reason is
  >> that the actual tab count is the actual indent in all cases. there is no
  >> need to deal with variable spaces or mixed spaces and tabs. almost all
  >> decent editors can display the tabs as any width of spaces so you can
  >> see it the way you want but the indent is just tabs.

  MD> Then perhaps you should support the purported "biological descendant
  MD> of Jesus". (To quote from his homenode.)

i don't support perlmonks in general. i dispise web boards as you have
to edit in those crappy textboxes (even with plugins to external editors
it is a pain). perlmonks' culture has not been a place i found very
welcoming, even to someone who might know a little perl. i know many
people there but i don't go there.

as for the tab indents, i was supporting damian's and my positions, not
the perlmonk nor his purported ancestry. and since JC had no biological
father and therefore no Y chromosome, how could he begat any sons? :)

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

Date: Sat, 23 Jun 2007 19:00:14 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Perl Best Practices - Code Formatting.
Message-Id: <x7fy4ia43l.fsf@mail.sysarch.com>

>>>>> "MD" == Michele Dondi <bik.mido@tiscalinet.it> writes:

  MD> On Sat, 23 Jun 2007 16:40:31 GMT, Uri Guttman <uri@stemsystems.com>
  MD> wrote:

  >> ARE YOU IMPLYING SOMETHING!!!??? COME TO YAPC::HOUSTON AND I WILL GIVE A
  >> PIECE OF MY MIND!!!!

you snipped the :)

  MD> I can't friggin' believe that!

i don't believe myself either! :)

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

Date: Sat, 23 Jun 2007 19:00:53 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Perl Best Practices - Code Formatting.
Message-Id: <x7bqf6a42i.fsf@mail.sysarch.com>

>>>>> "TM" == Tad McClellan <tadmc@seesig.invalid> writes:

  TM> Uri Guttman <uri@stemsystems.com> wrote:
  >> COME TO YAPC::HOUSTON AND I WILL GIVE A
  >> PIECE OF MY MIND!!!!

  TM> as if you had any to spare...

i keep a spare mind in my wallet.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

Date: Sat, 23 Jun 2007 16:28:29 +0100
From: David Golden <david.golden@oceanfree.net>
Subject: Re: The Modernization of Emacs: terminology buffer and keybinding
Message-Id: <L_afi.20495$j7.378051@news.indigo.ie>

Bjorn Borud wrote:

> [Falcolas <garrickp@gmail.com>]
> | 
> | I guess ultimately I'm trying to argue the point that just because a
> | tool was written with a GUI or on Windows does not automatically
> | make it any less a productive tool than a text based terminal tool.
> | Even in windows, you can use the keyboard to do all of your work, if
> | you learn how (thanks to the magic of the alt key).
> 
> as I see it, the debate isn't whether GUI tools are inferior per se,
> but whether Emacs is inferior since it has its own interaction
> concepts that do not map 1:1 to GUI conventions of Windows and OSX.

I think it worthwile to point out again here that emacs does in fact
have a bitmapped, windowy GUI, has done for years - e.g.
http://oldr.net/emacshelp4.gif  ...
Some people in this silly thread (not Bjørn specifically) seem to be
labouring under the impression that it is solely a text-only
interface - "Mouse longcuts" exist for the most basic keyboard commands
when you're using emacs on a WIMP system like X11 or Microsoft Windows
(though you can turn them off to stop wasting screen real estate on
pretty-pretty once you know the keyboard commands)

> (indeed several friends of mine would like to see Emacs done in Common
> Lisp, and I seem to have some memory of such a project existing
> somewhere).
>

Climacs @
http://common-lisp.net/project/climacs/




------------------------------

Date: 23 Jun 2007 17:56:16 +0200
From: Bjorn Borud <borud-news@borud.no>
Subject: Re: The Modernization of Emacs: terminology buffer and keybinding
Message-Id: <m3myyqbr6n.fsf@borud.not>

[Twisted <twisted0n3@gmail.com>]
|
| That sort of negative-sum thinking is alien to me. Software being easy
| for beginners to get started using does not in and of itself detract
| from its value to expert users.

the fact that you imply that this is my argument tells me that either
you have not paid attention, or you have a raging inferiority complex.
given the sum of your postings so far I'd say that you neither are,
nor consider yourself, a cerebral sort of person, so this narrows it
down somewhat (although not to the exclusion of you not having paid
attention).

-Bjørn


------------------------------

Date: Sat, 23 Jun 2007 18:39:33 +0200
From: Matthias Buelow <mkb@incubus.de>
Subject: Re: The Modernization of Emacs: terminology buffer and keybinding
Message-Id: <5e50ltF356nbjU1@mid.dfncis.de>

Tim Roberts wrote:

> Editors are like underwear.  We each have our own favorite brand, and
> nothing you say will convince me to change mine.

You really should have stopped here.... :)


------------------------------

Date: Sat, 23 Jun 2007 19:22:03 +0200
From: David Kastrup <dak@gnu.org>
Subject: Re: The Modernization of Emacs: terminology buffer and keybinding
Message-Id: <851wg2h9hg.fsf@lola.goethe.zz>

Matthias Buelow <mkb@incubus.de> writes:

> Tim Roberts wrote:
>
>> Editors are like underwear.  We each have our own favorite brand, and
>> nothing you say will convince me to change mine.
>
> You really should have stopped here.... :)

Well if "It stinks!" is not incentive enough for him to change his
underwear, what will?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


------------------------------

Date: Sat, 23 Jun 2007 13:06:49 -0700
From:  jan09876@hotmail.com
Subject: uninitialized value
Message-Id: <1182629209.765955.305670@o61g2000hsh.googlegroups.com>

Hi,
I try to learn perl by myself without any programming background. I
try to transform my DATA to
#title -fruit-#
orange => orange, carot,
red => apple, cherry, strawberry
#title -vegetables-#
green => cucumber
red => tomatoes

I keep on receiving this message  Use of uninitialized value in join
or string at ./print.pl line 18, <DATA> line 8. and don't know what to
do to fix the problem.

#!/usr/bin/perl
use warnings;
use strict;
my $title = "#.*#";
my %hash;

 while(<DATA>) {
  chomp;
 {
    my($key,$val) = split(/\s*=>\s*/);
    push(@{$hash{$key}},$val);
  }

for my $key (sort keys %hash) {
 print "$key => @{$hash{$key}}\n";
print $titles;
}
}

__DATA__
#title -fruit-#
orange => orange
orange => carot
red => apple
red => cherry
red => strawberry
#title -vegetables-#
green => cucumber
red => tomatoes



------------------------------

Date: Sat, 23 Jun 2007 17:24:06 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: why we need perl6 if we have parrort?
Message-Id: <qneq739v6khhh0qtb2p9ebccnh7s8j7pnd@4ax.com>

On Fri, 22 Jun 2007 17:38:22 -0400, Sherm Pendley
<spamtrap@dot-app.org> wrote:

>> Why we need C? We can learn how to coding in assembler direct.
>
>Why do we need assembler? We can learn how to coding by flipping toggle
>switches on an operator console.

Nope. I'm waiting for isolinear chips. Computer?


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V11 Issue 565
**************************************


home help back first fref pref prev next nref lref last post