Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
"be consistent."
 
PerlMonks

Trick or Treat

by Khen1950fx (Vicar)
 | Log in | Create a new user | The Monastery Gates | Super Search | 
 | Seekers of Perl Wisdom | Meditations | PerlMonks Discussion | 
 | Obfuscation | Reviews | Cool Uses For Perl | Perl News | Q&A | Tutorials | 
 | Poetry | Recent Threads | Newest Nodes | Donate | What's New | 

on Nov 01, 2009 at 01:42 UTC ( #804320=CUFP: print w/ replies, xml ) Need Help??

Since it's Halloween, I decided to decorate my terminal as a "haunted house". It looks pretty scary, but the cpan prompt wasn't quite there. I used this one-liner to change the "cpan>" prompt to Bela Lugosi's famous line: "_I_am_Dracula__". It only accepts letters or underscores, and it only changes the prompt temporarily for that session. Happy Halloween!

#!/sw/bin/perl use strict; use warnings; my $prompt = '_I_am_Dracula__'; system("perl -MCPAN -e 'CPAN::shell($prompt)'");

Comment on Trick or Treat
Download Code

Back to Cool Uses For Perl

Login:
Password
remember me
What's my password?
Create A New User

Node Status
node history
Node Type: CUFP [id://804320]
Approved by planetscape
Front-paged by planetscape
help
Community Ads
Chatterbox
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users
Others pondering the Monastery: (11)
GrandFather
Old_Gray_Bear
tirwhan
atcroft
herveus
Eyck
biohisham
baxy77bax
keszler
gnosti
im2
As of 2009-11-21 10:58 GMT
Sections
The Monastery Gates
Seekers of Perl Wisdom
Meditations
PerlMonks Discussion
Categorized Q&A
Tutorials
Obfuscated Code
Perl Poetry
Cool Uses for Perl
Perl News
Information
PerlMonks FAQ
Guide to the Monastery
What's New at PerlMonks
Voting/Experience System
Tutorials
Reviews
Library
Perl FAQs
Other Info Sources
Find Nodes
Nodes You Wrote
Super Search
List Nodes By Users
Newest Nodes
Recently Active Threads
Selected Best Nodes
Best Nodes
Worst Nodes
Saints in our Book
Leftovers
The St. Larry Wall Shrine
Offering Plate
Awards
Craft
Snippets Section
Code Catacombs
Quests
Editor Requests
Buy PerlMonks Gear
PerlMonks Merchandise
Planet Perl
Perlsphere
Use Perl
Perl.com
Perl 5 Wiki
Perl Jobs
Perl Mongers
Perl Directory
Perl documentation
CPAN
Random Node
Voting Booth

Future historians will find that the material characteristic of the current era is...

Aluminium
Plastic
Oil
Water
Carbon dioxide
Copper
Iron
Silicon
Salt
Uranium
Hydrogen
Other

Results (730 votes), past polls