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

Re: Re: Tripwire tests and future-proofing

by BUU (Prior)
on May 25, 2004 at 09:20 UTC ( #356147=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $lc1 = wc -l my_file.txt;
    $lc2 = sort my_file.txt | uniq | wc -l;
      #test good!
  2. or download this
    >perl -e"@x=qw/foo bar/; print scalar keys map { $_ => 1 } @x;"
  3. or download this
    Type of arg 1 to keys must be hash (not map iterator) at -e line 1, ne
    +ar "@x;"
    Execution of -e aborted due to compilation errors.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2015-11-30 06:02 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 (758 votes), past polls