[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Perl fun of a different sort



Uri Guttman <uri@sysarch.com> writes:

>[...]
> no newbie will ever be able
> to figure it out as it requires reading stuff.

Having a newsfroup that requires being able to read is ELITIST!

<thinks>I like it</thinks><!-- == stops thinking -->

The FAQ should clearly explain that the froup is moderated, and that
there is no moderator.  Actually, the FAQ could probably give step by
step instructions, and nobody would be any wiser.

ObFWP: I'm sure we could have a lot of fun with stuff like
this... (gives different results in 5.004_01, of course)

% perl -de 42

Loading DB routines from perl5db.pl version 1.0402
Emacs support available.

Enter h or `h h' for help.

main::(-e:1):   42
  DB<1> $x='The quick brown fox jumps over the lazy dog'

  DB<2> $y=\substr $x,3,10

  DB<3> p length($$y)
10
  DB<4> $z=\substr $x,6,10

  DB<5> $$y='[don\'t try this at home, kids!]'

  DB<6> p length $x
64
  DB<7> p length $$y
10
  DB<8> p length $$z
10
  DB<9> p $x
The[don't try this at home, kids!]wn fox jumps over the lazy dog
  DB<10> p $$y
[don't try
  DB<11> p $$z
n't try th

-- 
Ariel, who sometimes reads .misc but NEVER posts to it, Scolnicov

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe