Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^10: NO PERL 6

by Aristotle (Chancellor)
on Dec 10, 2002 at 16:57 UTC ( #218830=note: print w/ replies, xml ) Need Help??


in reply to Re: Re^8: NO PERL 6
in thread NO PERL 6

Let's undo a few assumptions.

sub BITS () { 16 } my $x = 100 <<BITS;
Ball's in your court again. :-) The obvious problem here is certainly easy to fix by stricter syntax, but in thinking about the fix I've already found a few more ambiguities..

Makeshifts last the longest.


Comment on Re^10: NO PERL 6
Download Code
Replies are listed 'Best First'.
Re: Re^10: NO PERL 6
by jryan (Vicar) on Dec 10, 2002 at 21:34 UTC
    Syntax error. Here-docs must now be quoted, << is no-longer left shift, and there is no closing >> to make that a qw[] equivalent :)
      #!/usr/bin/perl print <<X; sorry, nope. they need not be quoted X __END__ sorry, nope. they need not be quoted

      Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2015-07-08 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls