Roger J. Wendell
Defending 3.8 Billion Years of Organic EvolutionSM


Perl Logo Perl:
  • Practical Extraction and Reporting Language
  • Perl is a general-purpose programming language that was developed by Larry Wall. First released in 1987, Perl was originally developed for text manipulation but is now used for wide range of tasks. Perl has become a popular language for writing CGI scripts and is easy to use for building and testing simple programs...



"Perl is the Swiss Army chainsaw of scripting languages: powerful and adaptable."
(From O'Reilly's Beginner's Introduction to Perl)


Arrow Pointing Right Click Here for my main computer page...
Arrow Pointing Right Click Here for my UNIX page...


"I programmed for the most part in the first year or so in Perl; and Craigslist, these days, it's pretty much all Perl."
- Craig Newmark, founder of Craigslist
(in a July 2008 interview by Timothy M. O'Brien at the Personal Democracy Forum in New York)


Wirth's Law:    "Software is getting slower more rapidly than hardware becomes faster."




Y = CX^2 + B
Perl Parabola 12-25-2007
pico parabola.pl
perl parabola.pl -2 3
cat parabola.data
plot "parabola.data"
# experimenting with a parabola 12-25-2007
# c is the concavity of the parabola
# Y = CX^2 + B
# B is the intercept with the Y axis
# ARGV is argument variable containing the arguments
# to the program on the command line
$c = $ARGV[0]; $b = $ARGV[1]; open (filehandle, ">parabola.data");
for ( $x = -10; $x<=10; $x=$x+.1 )
       $y = $c * $x * $x + $b;
       print filehandle $x, " ", $y, "\n";
close (filehandle);




Perl Camel Basics

Under UNIX, Perl acts like a shell interpreter.
Most UNIX systems store Perl in /usr/bin/perl


In Perl, numbers and strings are the basic unit of conversation and are called scalars. Scalars that represent information that does not change over the life of the program are called constants or literals. Examples of literals are pi (3.14159265...), the name of the fourth planet from the sun (Mars), or the absolute limit of causal interation (299,792,458 metres per second [1,079,252,849 km/h]).

In Perl, scalars that change are called scalar variables. You can change the contents of a variable because they merely act as as handles for the data they represent. Variable are usually given convenient and easy-to-remember names that allow you to easily refer to the data you are manipulating.


Perl Camel - Small Perl Operators


Perl Camel - Small Simple bits of Code:

Hello, world!
   print "Hello, world!\n"; 



Current Time
# file: time.pl
  $time = localtime;
  print "The time is now $time\n";



A Simple Calculator

while(<STDIN>) {
    $i = $_; chomp($i); unless($i) { last }
    $o = eval($i); print "Answer = $o\n";






Perl Camel - Small Perl References and Related Stuff:




A Really Bad Computer Day This site best viewed with a Computer and a Monitor!



  1. 0Spam (Zero Spam)
  2. Annoyances Fixing problems with Microsoft Windows
  3. Anti-Phishing
  4. Arachnophilia - the Paul Lutus CareWare page
  5. AVG Anti-Virus
  6. Bitmek "Let the power of the Internet work for you!"
  7. Bug Me Not - Avoid Internet registrations
  8. Button generator
  9. Button maker by Cool Archive
  10. Button maker by TomaWeb
  11. Central Ops - Free online network utilities
  12. CGI Scripts
  13. Computer History Museum
  14. Computer Stuff - by me!
  15. Colors in HTML - 16 million of 'em!
  16. CrackSpider
  17. Debian - free operating system
  18. Dillo - speedy, small footprint web browser (free!)
  19. DMOZ - Open Directory Project
  20. Downloads from me!
  21. Drupal
  22. Entity References
  23. Eprompter Free Email Retrieval and Notification
  24. Flaming Text
  25. Foxit - Free pdf viewer
  26. Ghostscript, Gohstview, and GSview
  27. GNOME Project - Free desktop environment
  28. GNU Project - Free Unix-like operating system
  29. HTML Character Reference by Webreference.com
  30. HTML Character Set by Walter Ian Kaye
  31. HTML Ordered Lists
  32. Infinite Monkeys Eclectic Software
  33. JavaScript Source - "...an excellent JavaScript resource"
  34. K7 Net Unified Messaging
  35. Keir.net - Robin Keir's software utilites page
  36. Kephyr - Nice software for nice people
  37. Launchpad - services for projects in the open source universe
  1. Libre Office - free office software by the Document Foundation
  2. McAfee Stinger Virus Removal
  3. Memory Hole Resucing knowledge, freeing information
  4. Mozilla Foxfire webrowswer (free!)
  5. Net Mechanic Power Tools for Your Website!
  6. Nyx - Spirit of the Night (free Unix shell accounts)
  7. Old Version - Because newer is not always better
  8. Open Office
  9. Open Source Initiative
  10. PC Hell
  11. PC Pitstop free automated tests...
  12. Perl - The source for Perl
  13. Perl Directory
  14. Pic Search
  15. PGP by me!
  16. Protonic "free fast technical support"
  17. RoundCube - open source webmail software
  18. SDF - Super Dimension Fortress (a networked community of free software authors...)
  19. Save This
  20. Softpedia The encyclopedia of free software downloads!
  21. Source Forge - Find and Develop Open Source Software
  22. Special Alt Characters
  23. Spell Checker (Online)
  24. SpyBot Search and Destroy!
  25. Tech Bargains
  26. TechDirt - government policy, technology and legal issues
  27. Test Page that allows me to test stuff!
  28. Toast Net Connection Performance Test
  29. Unicode Consortium
  30. Ubuntu - UNIX for Humans!
  31. Unix, Linux, and Raspberry Pi - by me!
  32. Validome HTML / XHTML / WML / XML Validator
  33. VideoLAN - a great media player!
  34. W3 World Wide Web Consortium
  35. Wayback Machine - Internet Archive
  36. What's My DNS? - DNS Server Testing Tool
  37. ZamZar - Free online File Conversion


Search www.RogerWendell.com Search WWW




Back Back to Roger J. Wendell's Home Page...

Web Counter Logo


Abbey | About | Blog | Contacting Me | Copyright | Disclaimer | Donate | Guest Book | Home | Site Index | Solutions | Terms, Conditions and Fair Use
Copyright © 1955 -