#!/usr/bin/perl use strict; require 'CGI.pl'; print "Content-type: text/html\n\n"; putHeader(); print qq{
NCSU.pm N.C. State University Perl Mongers
 
}; putNavBar(); print "

\n"; putLinks(); print qq{

}; # Main content print qq{
Current News

Next Meeting: April 2nd at 7:30 in Withers 402A

Brian Ferris will explain the basics of Object-Oriented programming in Perl and then describe how to use try/catch statements. You are also welcome to ask general Perl questions.
NCSU Perl Mongers will meet on the first Wednesday of every month during the semester.

Perl Challenges:

Here is an interesting Perl problem. If you have an interesting solution, e-mail it to wgemigh\@ncsu.edu.

Perl Golf: Write a command-line Perl program to replace every occurance of 'Will Emigh' (exactly like that) with 'YAPH Emigh' in a given file.

Hint: look at the -i command-line flag.

The winning entry of last month's Perl Golf (finding all palindromic words in a specified dictionary) is
"perl -nle 'reverse ne$_||print' /usr/dict/words"
If you've got a shorter solution, e-mail wgemigh\@ncsu.edu and you will be appropriately hailed as a Perl guru at the next PM meeting.

Officers

Are you interested in being an officer? All positions are up for election at the April meeting:
  • President
  • Vice-President
  • Treasurer
  • Secretary
}; print qq{
}; putFooter(); exit(0);