Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Re: Will my code work in Perl 6?

by $code or die (Deacon)
on Feb 08, 2002 at 19:39 UTC ( #144199=note: print w/replies, xml ) Need Help??

in reply to Re: Will my code work in Perl 6?
in thread Will my code work in Perl 6?

Hi, thanks for the corrections.

And please use a monospaced font for code :)

I thought I was! It looks ok on my screen. But my fonts were a little messed up by Opera. I checked it a few days ago in IE and it looked ok too.

I was confused about the for/foreach bit. Apocalypse 4 says: 'And for will now always mean "foreach"'. Now I'm more confused. perlsyn says: '"foreach" keyword is actually a synonym for the "for" keyword'. I suppose it means that neither for, nor foreach will have the C-style (;;) construct.

Thanks for the help.

___ Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;

Replies are listed 'Best First'.
Re: Re: Re: Will my code work in Perl 6?
by Juerd (Abbot) on Feb 08, 2002 at 20:35 UTC
    It seems Konqueror renders <pre> in whatever font the underlying element has. I don't know if that's how CSS was supposed to work, but you could of course add PRE { font-family: courier; } to your style sheet.

    2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

      Right. the <tt> is usually rendered as monospaced font. But it is useragent-dependent. Stylesheets are preferred.

      Thanks again --Simon

      ___ Simon Flack ($code or die)
      $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
      =~y'_"' ';eval"die";print $_,lc substr$@,0,3;

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://144199]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2022-05-23 11:49 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (82 votes). Check out past polls.