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

japhy's Perl Film picks (some are puzzles...)

by japhy (Canon)
on Jun 22, 2001 at 20:10 UTC ( #90775=note: print w/ replies, xml ) Need Help??


in reply to The Perl Film Festival

I'll fan the flames. Some of these are awfully tricky, though.

pop @mohicans; $flew[rand @flew] / $nest{cuckoo}; sub mummy { return } scalar @monte_cristo; my $la; my $parts; $engagement = Parse::RecDescent->new(...); sub tomorrow { return; die; } sub never { print +(caller(0))[3]; *never = sub {} } $sense[5]; @couples = map [ pop @brides, pop @brothers ], 1..7; $day - int($day); $days - int($days); pop @destination; study $summers[-1]{activities}{you}; $is_postman and ring(), ring(); for (@people) { fork and sleep 5 } # <-- HERE import random; def add (x, y): return random.random(); sleep 60; exit; $#commandments = 9; umask; $gun[0]; gun; close LAMBS; use vars '@enemy'; $enemy[0]; @clues = (); $Love::shakespeare; sub { \my $ryan }


japhy -- Perl and Regex Hacker


Comment on japhy's Perl Film picks (some are puzzles...)
Download Code
Re: japhy's Perl Film picks (some are puzzles...)
by petdance (Parson) on Jun 22, 2001 at 20:33 UTC
    Some of those are completely brilliant, but I really think that
    pop @mohicans;
    is more accurately
    $mohicans[-1];
    Also, I think that the data structure for
    @couples = map [ pop @brides, pop @brothers ], 1..7;
    should really be
    %couples = map { (pop @brothers, pop @brides) }, 1..7;
    Note the hash as having a "has-a" relationship, right?

    xoxo,
    Andy
    --
    I was dreaming when I wrote this, so sue me if I go too fast.

      Technically, if all the mohicans died, it'd be $mohicans[0] as well, no? ;)

      japhy -- Perl and Regex Hacker

      Or to get the overall effect.

      $last = map { pop @mohicans } @mohicans;

      Thus leaving no mohicans other than the one you have in $last.

titles to japhy's Perl Film picks
by japhy (Canon) on Jun 22, 2001 at 21:21 UTC
    Here are the titles, if you were curious...
    Last of the Mohicans One Flew Over the Cuckoo's Nest The Mummy Returns The Count of Monte Cristo LA Confidential Private Parts Rules of Engagement Tomorrow Never Dies Never Say Never Again The Sixth Sense Seven Brides for Seven Brothers Remains of the Day End of Days Final Destination I Know What You Did Last Summer The Postman Always Rings Twice Awakenings And Now For Something Completely Different Gone in 60 Seconds The 10 Commandments The Mask Top Gun The Naked Gun Silence of the Lambs Public Enemy #1 Clueless Shakespeare in Love Saving Private Ryan


    japhy -- Perl and Regex Hacker

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-09-01 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (299 votes), past polls