Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Junkyard Wars, Perl Style

by mincus (Chaplain)
on May 09, 2001 at 18:19 UTC ( #79091=note: print w/ replies, xml ) Need Help??

in reply to Junkyard Wars, Perl Style

Awesome idea!

Maybe we could do something like this as well

You have--

  1. one array
  2. 3 scalers
  3. 1 for loop
  4. 3 hours
  5. ...

to do task X. And you would only be allowed to use that in code, and nothing else... you could even go as far as to say how many  { } and semicolons... dunno, just a thought.

UPDATE: Added elipse so show that list was not conclusive. Wiseguys ;)


Comment on Re: Junkyard Wars, Perl Style
Download Code
Replies are listed 'Best First'.
Re: Re: Junkyard Wars, Perl Style
by premchai21 (Curate) on May 09, 2001 at 19:59 UTC
    You don't get any assignments? Or regexen? Or equivalence tests? Or push, pop, shift or unshift? Or even just a weensy concatenation? And no print statements or inputs? Good grief...
    my @x; # The array my ($a,$b,$c); # The scalars for ($a,@x,$b,@x,$c,@x) { }

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2015-11-25 23:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (693 votes), past polls