Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by $code or die (Deacon)
on Feb 08, 2002 at 19:39 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-29 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found