Perl Command Line Interpreter

perl -e 'while(1){print"> ";eval<>}'
My Programming Languages professor assigned my class a homework assignment where we had to write a Perl interpreter using Perl. I really like Python's interactive command line interpreter which inspired this Perl script.

10
By: kzh
2010-02-03 21:48:33

2 Alternatives + Submit Alt

What Others Think

Wow, incredible!!!, thx for sharing :)
chilicuil · 624 weeks and 4 days ago
So first following the tips and and save your money,now hurry up and play pool 8 ball hack such a wonderful amazing and i am sure you full enjoy.
KGF123 · 78 weeks and 5 days ago
Superior post, keep up with this exceptional work. It's nice to know that this topic is being also covered on this web site so cheers for taking the time to discuss this! Thanks again and again! aba routing number
KayGasaway · 12 weeks and 1 day ago
Amsoil Motorcycle Oil Beyond Performances is an Amsoil Dealer that provides the best Amsoil diesel oil, amsoil motor oil, best transmission fluid, and engine lubricants. https://beyondperformances.com/
KayGasaway · 11 weeks and 3 days ago
Explore about Java burn scam & The 7 Undeniable Facts. Java Burn is a weight loss supplement that has been formulated by John Barban, a Nutrition & Wellness Expert, and 3 Time Best-Selling Author. Java burn scam
KayGasaway · 10 weeks and 6 days ago
Premium eyelid anti aging device that helps treat sagging eyelid skin. EvenSkyn:registered: is a manufacturer of premium skin care devices, Laser Hair Removal, Anti Aging, and helping men and women have smooth, hair free skin, Please click here ?to visit our website for more information, Thank You.
KayGasaway · 10 weeks and 6 days ago
Buy cheap cigarettes in the UK and EU. Online store - A reliable shop to get cheap cigarettes online ?in Canada , EU, and UK Fast and secure delivery, great customer reviews, savings are up to 65 Just awesome!
KayGasaway · 10 weeks and 6 days ago
The Best Skin boosters treatments in East coast Singapore - Perfect Beauty Bedok. Skin Origins Centre, The best facial in Bedok is at Perfect Beauty Bedok Established in 2001 Qualified beauticians using Skin Origins and Phyris. Call Us Mobile: +6593895687 or visit our website, Thank You. Skin boosters treatments in East coast Singapore
KayGasaway · 10 weeks and 6 days ago
Explore JiRong – Your Best custom paper bags & Cardboard Boxes Manufacturer, Professional custom paper packaging manufacturer from China. Our headquarters is located in Quanzhou, and the embranchments are in Xiamen. Visit our website jirongpacking.com , Thank You.
KayGasaway · 10 weeks and 6 days ago
one of the most occurred issues without an invitation. How to fix QuickBooks error code h202 and h505 ?can be fixed by installing QuickBooks Tool Hub on server computer, select Network Issues and Select Start Scan if you see your company file location if database server manager is not installed on your computer it will prompt you to download it. We also Resolve error codes and provide great resolution .
KayGasaway · 10 weeks and 5 days ago
Find best Duschen mit Klemmprofil ?Showers with clamp profile in Germany. Save 30% when buying directly from the manufacturer, In our exclusive online shop you will find our range of bath tub attachments , barrier-free walk in showers and many other solutions for your dream bathroom. If you are unsure which shower solution is the right one for your bathroom, let us advise you free of charge in advance: 02639 962799-0.
KayGasaway · 10 weeks and 5 days ago
Explore Agile Roofing Canberra - Best roofing contractors in Canberra! We specialise in Roof Restoration Canberra, roof replacement Roof Repairs Canberra wide Call 0483 871 787 now! or visit our website, Thank You.
KayGasaway · 10 weeks and 5 days ago
Looking for a perfect engagement ring or wedding set but don’t want to spend a fortune? Shop Affordable Engagement Rings at Allegra N co, Cheap Wedding Rings Wedding Rings Sets for Women, Sterling Silver Earrings, Moissanite Jewelry, Tungsten Carbide Wedding Rings for Mens, Sterling Silver Necklaces at Cheap Affordable Prices Free Delivery Across US, Please visit our website ?& get discounts & special deals.
KayGasaway · 10 weeks and 5 days ago
Explore Dormi Headphones #l wireless headband headphones for Sleep, Dormi Headphones are the best best headband headphones, most comfortable wireless headband headphones with a mic for running, yoga and sports Listen to music, audiobooks and ASMR in our bed friendly headphones Shop noise reducing earphones for sleep at our website. Visit website and get 10% OFF your order!
KayGasaway · 10 weeks and 5 days ago
Use the Map on the following website to Find Food Near Me 24 Hours ?in Your area, Food near me is the Most Reputable Online Directory Search our database of 1,000s of restaurants, fast food places and more.
KayGasaway · 10 weeks and 4 days ago
Explore health care products reviews , Our reviews are not just written without checking their details. We use verified sources and references for that. This’s because we are required to deliver honest transparent reviews.You can always check all the verified references and sources used in this review at the bottom of this page.
KayGasaway · 10 weeks and 4 days ago
Explore Need Health - The Best Place To Aquire The Needed Health, Visit our website to get info about the best brain health supplement, As We are constantly learning about how amazing the human brain is. It’s many more powerful than even the latest, most advanced technology. While you can’t live in fear of injury, you can stay on top of your health to minimize the odds of developing an issue, and to know what actions to take if something goes wrong.
KayGasaway · 10 weeks and 4 days ago
Explore Clinic Review - The True Clinic Reviews Of Supplements, You will find verified reviews on this website ?topics like: Fat burners Products, Cacao Bliss Reviews, Detailed Analysis On Toenail Fungus Cure Formula!, Effective Ingredients or Cheap Blood Sugar Pills?and more, Please click the mentioned anchor texts to visit this informative and valid website for authorized reviews about supplements
KayGasaway · 10 weeks and 4 days ago
Buy Latest Laptops, Computers, Gaming Components & Tech Products, MegaeStore is Australia s Leading Online electronics store with a large range of technology products We have a large range of suppliers across Australia and we ship products directly to our customers directly from the supplier’s warehouse Buy Computers, buy gaming gadgets online, brand new laptops, pc components and alot more. Please click here for mega discount deals on all these products.
KayGasaway · 10 weeks and 4 days ago
Explore Why Export Emails to Google Docs?? Having an email report of all your organized emails in Google Docs gives you control of how to organize them, and an organized report of your emails to Google Docs, with each email in a PDF format which makes this ideas as “untampered” evidence if that’s necessary to gather.
KayGasaway · 10 weeks and 4 days ago
Yardistry 12ft x 12ft (3.7 x 3.7m) Cedar gazebo ?with Peaked Aluminium Solid Roof, Shop at Signature Retail Stores for the best deals. Free Shipping & Returns. Create a striking centrepiece in your outdoor living space.
KayGasaway · 10 weeks and 4 days ago
Explore Bigg Boss Tamil is the fresh reality show on Vijay Television in India. Legendary actor Kamal Haasan hosted the season 1 and season 2 and season 3. Now its back with season 5 vote, Click here to get more info like:online bigg boss vote tamil , missed call numbers.
KayGasaway · 10 weeks and 4 days ago
The Exclusity , It's NOT About Scrolling - It's About Connecting - Know The Difference. Please visit this site ?& Search For Anything. We Empower Consumers & Entrepreneurs in 3 Core Ways. Explore more by clicking here, Thank You.
KayGasaway · 10 weeks and 4 days ago
Are you concerned about the condition of your home Call us today to schedule a meeting with us for mold inspector Columbus Ohio! Don't wait! Dial 1-800-241-0133 to schedule a home mold inspection in Columbus Ohio. You could be living with mold and your health could be suffering. Get to the root of the problem with a hassle-free and affordable mold inspection.
KayGasaway · 10 weeks and 4 days ago
FirmaX is your service provider in Hungary offering integral and professional corporate, legal, tax and accounting services. company formation in Hungary ?from EUR 999! Benefit from the 9 corporate tax rate. Please visit our website for more info.
KayGasaway · 10 weeks and 3 days ago
Hey, find a personal trainer near you with UKFitness Pro , the nation’s largest database of personal trainers! Find a trainer in UK by just visiting thiswebsite Just enter your location into the search box above, hit search, then message one of the qualified personal trainers near you.
KayGasaway · 10 weeks and 3 days ago
Explore Chicago Permit Expediter | Permit Expediting Chicago & Code Compliances Services, The Best Chicago Permit Expediter & chicago building permits, Permit studio offer chicago permit services, IL, As best chicago permit expediter, our team consists of a variety of talented and passionate professionals with backgrounds in architecture, interior design, planning, construction, and project management. Please visit our website for more info, Thank You
KayGasaway · 10 weeks and 3 days ago
The Shipping companies in Dubai ?UAE | AL Fares Cargo Services, Al Fares offers air freight, sea freight, ground freight, customs clearance services and more in Dubai and throughout the UAE. We offer you professional shipping services, Please visit our website for more info. Thank You. Register now and get our monthly shipping bulletin.
KayGasaway · 10 weeks and 2 days ago
Explore Farmers Chile Market ?- Albuquerque's Original Chile Roaster. Fresh and dried New Mexico green and red chile, hatch chile ristras, and local produce galore.We carry many different varieties of chile, including Big Jim, Sandia, Miss Junie, Barker, Lumbre, and more.
KayGasaway · 10 weeks and 2 days ago
Kama Delivery Catering ?? Service ?????? based in Hong Kong, provide global dishes & Takeway services ???? & promotions with high-quality ingredients and providing a variety of cuisines such as salads, snacks, vegan food and main dishes. Apart from à la carte food, they also provide party food delivery for christmas meal ???? wedding event, kids birthday party catering ?????? ?etc. They also accept large-scale catering services for large and small birthday parties, banquets, company events, friend gatherings or children's birthday parties, Kama is one of the leading catering service in Hong Kong.
KayGasaway · 10 weeks and 2 days ago
If You are looking for Experianced and skilled Painters in London, Explore Painters near me ?, Over 20 years experience in painting and decorating, Why Choose Us: A Professional and friendly, competent team, Good value for money and more, Please visit our website for more info, Thank You.
KayGasaway · 10 weeks and 2 days ago
Selamat datang di Betflix ?Channel, Betflix Channel adalah One Stop Online Games Channel yang berisikan permainan game online seperti togel, slot, casino namun kami juga ingin menghibur para subscriber dengan konten-konten ringan dan komedi. Dukung Betflix Channel dengan tekan tombol subscribe dan berikan like di setiap video kami.
KayGasaway · 10 weeks and 2 days ago
This blog website is pretty cool! How was it made ! http://www.associateonelogin.com/
KayGasaway · 10 weeks and 1 day ago
Get True Reviews for the Online Products by Inidan review website, Check Revexpo for more info, It is one of the True best reviews Website in India provides genuine reviews from online buyers their experience.
KayGasaway · 10 weeks ago
Do you want to break through your limiting beliefs and achieve the best possible version of you? Explore about NLP ?Peak Coaching is a professional performance and mindset life coaching business, offering various services geared towards improving customers wellbeing. Visit our website and get Free 15 minutes consultation.
KayGasaway · 10 weeks ago
The Kangdi Medical company is engaged in the development and manufacture of various capsicum heat patches like pain relief patches, capsicum plaster, cooling gel patch, detox foot patch, slimming patch, chinese heat patches ,menstrual cramp relief patch, body warmer heat pad, corn plaster, motion sickness patch etc. Top capsicum plaster manufacturers.
KayGasaway · 10 weeks ago
Explore ?àn piano c? ?Piano Dong Nai would like to introduce some popular piano brands in Vietnam. Nowadays, finding a tool to learn music is not as difficult as it used to be. With the appearance of many piano brands, it is easy for us to find a piano that is satisfactory and suitable for our needs
ayesha · 10 weeks ago
Human hair is one of the main products of cinderella lashes and we are a professional custom human hair manufacturer we have all kinds of human hair wigs natural looking wigs human hair bundle remy human hair virgin human hair lace front wig human hair full lace human hair wig ?613 human hair wig etc
KayGasaway · 10 weeks ago
Use the Map on the following website to Find Food Near Me 24 Hours ?in Your area, Food near me is the Most Reputable Online Directory Search our database of 1,000s of restaurants, fast food places and more.
KayGasaway · 10 weeks ago
Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking. http://www.roadrunneremails.org/
KayGasaway · 9 weeks and 6 days ago
Pin badges Enamel Badges provides a massive range of custom enamel badges in the UK. we offer soft and hard enamel badges, die struck badges, and printed badges. https://www.enamelbadges.com/
KayGasaway · 9 weeks and 5 days ago
Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended. roadrunner email login
KayGasaway · 9 weeks and 4 days ago
Are you looking for web design company ?to build your website or app according to the specification? Our UX/UI specialists create interfaces that even an untrained person could manage. There will be no unnecessary complexity on the front end of the app.
KayGasaway · 8 weeks and 4 days ago
fence installation fort myers fl We offer Commercial and Residential fence installations and repairs in Cape Coral, SW Florida. Gator Fence Corp is the best fence service company in SW Florida ... https://gatorfencecorp.com/
wenilak444 · 5 weeks ago
I was amazed when i tried this code. It works on Lubbock Drywall Contractors Good job!
davidson02 · 4 weeks and 6 days ago
Hi?n nay, th? tr??ng crypto ngày càng n?i lên và thu hút ?ông ??o s? chú ý t? công chúng vì có thanh kho?n cao. M?t s? d? án Crypto hàng ??u ?ã phát tri?n r?t nhanh và m?nh m? d?a trên Network Effect, hay còn g?i là hi?u ?ng m?ng tích c?c. Cùng tìm hi?u các thông tin v? th? tr??ng crypto b?ng cách truy c?p website: https://blocksolfi.io/
BLOCKSOLFI · 2 weeks and 6 days ago
Hi?n nay, th? tr??ng crypto ngày càng n?i lên và thu hút ?ông ??o s? chú ý t? công chúng vì có thanh kho?n cao. M?t s? d? án Crypto hàng ??u ?ã phát tri?n r?t nhanh và m?nh m? d?a trên Network Effect, hay còn g?i là hi?u ?ng m?ng tích c?c. Cùng tìm hi?u các thông tin v? th? tr??ng crypto b?ng cách truy c?p website: ref=https://blocksolfi.io/
BLOCKSOLFI · 2 weeks and 6 days ago
I read a article under the same title some time ago, but this articles quality is much, much better. How you do this.. Kitchen Cabinets Tacoma
madmardigan · 2 weeks and 5 days ago
There is clearly a bunch to identify about this. I suppose you made certain good points in features also. BabyLoungers
wenilak444 · 2 weeks ago
Thank you for the good write-up. It in fact was a amusement account it. more information
ronlynch07 · 1 week and 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: