Category Archives: Perl

What type of programs should i write in perl to strong my basics?

Question by meet: What type of programs should i write in perl to strong my basics?
Ive just started learning perl( Im 14) and im fascinated with its capability. can someone suggest any type of program i cud write to explore the language further because tutorials are becoming very monotonous.
i just want an idea, not the code. Thanks

Best answer:

Answer by Merc
You have to pick something you’ll enjoy (or want –it’s the same) to do. Only you know what it is.

Examples:

(1) if you’re using SMS, you could write a program that converts “I hate you” to “I h8 u”, etc.

(2) if you tend to wake up at night and you always wish you knew the time (without turning on the light) you can write a “talking clock”: find voice recordings for the numbers (or make them yourself) and play them in sequence. For example, if it’s 3:45, it will play three.mp3, forty.mp3, five.mp3.

(3) if you study a second language at school, write a program to help you memorize vocabularies. If you study electronics, write a program that converts resistor colors to ohms.

(4) if you love math, pick problems to solve from http://projecteuler.net/index.php?section=problems (but some are taugh!)

(5) try to solve problems from “Perl Quiz” ( http://perl.plover.com/qotw/ ) or “Ruby Quiz” ( http://www.rubyquiz.com/ )

(6) write a program that generates random sentences. A sentence is SUBJECT + VERB + OBJECT. So setup arrays for the three, and pick from them randomly. Then enhance the program to generate more complicated (and more “real”) sentences.

(7) you can also write your program as “CGI”, which will make it work via a browser (but finding a hosting service that supports CGI isn’t very easy: it’s considered an outdated technology nowadays).

Give your answer to this question below!

#Perl swimming

#Perl swimming
Perl

Image by love2dreamfish
Who would not want to have Perl Foundation as booth neighbors. Thanks, Chris and Michael, for the good times, Perl lessons and tshirts. Missin’ ya!

Ouverture des Journées Perl 2006

Ouverture des Journées Perl 2006
Perl

Image by Maddingue
David ouvre officiellement les Journées Perl 2006

How to talk between two computers using perl?

Question by Jordan Y: How to talk between two computers using perl?
I would like to program the game “Spades” using perl. It is a 4 player game and would require the host computer to communicate with 3 other computers. Ideally, I would like to have ppl be able to enter the IP address and mask of the host (automatically, eventually), and then be able to play a multi-player game.

Best answer:

Answer by seegeedubya
Each of your players needs to act as both a client and a server, or at least one of the 4 must act as a server that relays moves to the others. Check out Net::Server; it’s an extensible server module that could be adapted to do what you want (basically, receive transactions consisting of the cards played from the other players).

What do you think? Answer below!

Chicago Perl Hackathon

Chicago Perl Hackathon
Perl

Image by Pete Prodoehl
Perl folks from far and wide working on various Perl and Perl-related projects…

Perl 5.10

Perl 5.10
Perl

Image by Maddingue
David Landgren présente les nouveautés de Perl 5.10, ici les variables d’état : state $var

Hak5 – Graphing Twitter Connections with Perl and Graphviz

Soldering 101: Shannon builds a network tap. Perl and GraphViz for mapping twitter connections. Chrome tips and deauthing WiFi. All that and more this time on Hak5.

Perl 5.10

Perl 5.10
Perl

Image by Maddingue
David Landgren présente les nouveautés de Perl 5.10, ici l’optimisation des constantes réalisée par Nicholas Clark.

Minimal Perl: For UNIX and Linux People

Minimal Perl: For UNIX and Linux People

  • ISBN13: 9781932394504
  • Condition: Used – Very Good
  • Notes: 100% Satisfaction Guarantee. Tracking provided on most orders. Buy with Confidence! Millions of books sold!
A guide to a carefully designed subset of the Perl language, this book makes Perl more accessible to those having UNIX/Linux skill levels ranging from elementary to expert by capitalizing on their existing knowledge of important utilities (grep, awk), or essential concepts (filters, command substitution, looping). Dozens of detailed programming examples are shown, drawn from contemporary application areas such as system administration, networking, Web development, databases, finance, HTML, CGI, and text analysis. Broken into two parts, the first is for all who are familiar with core UNIX/Linux commands such as grep and caters to readers ranging from managers and administrative staff to advanced programmers. The second part is for developers experienced in Bourne, Korn, Bash, or POSIX Shell programming and makes Perl scripting easy to learn by showing Shell examples along with their Perl counterparts. Many Perl modules are covered including freely available pre-written code from the CPAN.

List Price: $ 44.95

Price: {price-updating}

Perl 5.10

Perl 5.10
Perl

Image by Maddingue
David Landgren présente les nouveautés de Perl 5.10, ici les références relatives, un backport des rules de Perl6 par Yves Orton.

Powered by Yahoo! Answers