Subdomain Posts
Perl | 2 days ago
None | 2 days ago
Perl | 3 days ago
Perl | 3 days ago
Perl | 4 days ago
Perl | 6 days ago
Perl | 6 days ago
Perl | 8 days ago
Perl | 8 days ago
Perl | 12 days ago
Recent Posts
PHP | 6 sec ago
None | 25 sec ago
None | 30 sec ago
None | 47 sec ago
None | 55 sec ago
None | 59 sec ago
None | 1 min ago
PHP | 1 min ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By theo on the 28th of Jan 2010 02:23:31 PM Download | Raw | Embed | Report
  1. #! /usr/bin/perl
  2.  
  3. use strict;
  4. use warnings;
  5.  
  6. my %hash = (
  7.     'fermat' => ['dual core', '2G DDR'],
  8.     'gauss'  => ['P4', '1G'],
  9.     'euler'  => ['586', '64k']
  10. );
  11.  
  12. foreach ('descartes', 'gauss', 'laplace')
  13. {
  14.     print "we have a machine named $_\n" if ($_ ~~ keys %hash);
  15. }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: