Q. How to evolve Perl to ignore syntax and can just write a
story to finish the program?

A. Most programming languages rely on programmer evolution
(learning), since language evolution (design) to the extent
you want would take the most highly evolved (able)
programmers on the planet.

Almost as good as you can go in Perl is to turn off
warnings (default behaviour anyway), not to use the
'strict' pragma.

Extreme lazyness can be achieved by using the
"Symbol::Approx::Sub" module from CPAN (see section
"Getting It Wrong the Wright Way" at
"http://www.perl.com/pub/a/2001/10/31/lighter.html"; for a
nice description).  You make a typo with a variable name or
function name... this module saves you the time correcting
it.  Dead useful.

Finally, if you care more about the story telling than what
the program actually does, you have two options:

1. Don't use warnings, and abuse the language to make Perl
poems.

2. Place __END__ or __DATA__ at the bottom of your script,
and write your story after it.  Perl will just ignore it,
and soon you'll be looking for a job as an author. ;-)

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music 
Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to