develooper Front page | perl.perl5.porters | Postings from April 2004

RE: Minor tweaks to perldocs -- ref ($proto) || $proto

Thread Previous | Thread Next
From:
Orton, Yves
Date:
April 1, 2004 01:01
Subject:
RE: Minor tweaks to perldocs -- ref ($proto) || $proto
Message ID:
71B318898201D311845C0008C75DAD1C0A44CCC6@defra1ex2
--- Ovid wrote
> --- Nick Ing-Simmons <nick@ing-simmons.net> wrote:
> > >  sub new {
> > >    my $proto = shift;
> > >    my $class = ref($proto) &#9474;&#9474; $proto;
> > 
> >      "&#9474;" is what? - an XML escape?
> 
> After a couple of comments like this, I must confess to being 
> thoroughly confused.  Are people
> having trouble reading my email?  The content-type is 
> "text/plain; charset=us-ascii".  Am I
> missing something obvious?

In the first post you made on this subject it came through to the list as 

      my $class = ref($proto) &#9474;&#9474; $proto;

Or in englishy text:

      my (dollar)class = ref((dollar)proto)
(ampersand)(numbersign)9474(semicolon)(ampersand)(numbersign)9474(semicolon)
(dollar)proto(semicolon)

And everybody else has just been cutting and pasting the code.

If that doesnt look like that then your mail client is doing things that you
arent aware of.

Yitzchak pointed out

  For the curious, &#9474; ((ampersand)(numbersign)9474(semicolon)) is
"\N{BOX DRAWINGS LIGHT VERTICAL}"

Yves



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About