Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Perl Exercises: For Beginners

by perl.j (Pilgrim)
on Jul 04, 2011 at 18:39 UTC ( #912683=perlquestion: print w/replies, xml ) Need Help??
perl.j has asked for the wisdom of the Perl Monks concerning the following question:

Are there any websites or books that have excersises for perl? I have used Perl Cookbook but it wasn't what I was looking for. I'm looking for something that gives you an idea of a problem and you have to solve it. If there is nothing of the sort that exists is there a way we could get this page on PerlMonks (That last sentence was for the Monks). Thanks in advance!

Replies are listed 'Best First'.
Re: Perl Exercises: For Beginners
by toolic (Bishop) on Jul 04, 2011 at 18:49 UTC
Re: Perl Exercises: For Beginners
by FunkyMonk (Canon) on Jul 04, 2011 at 18:51 UTC
    A couple of old (but still fun) links:
    • Perl Quiz of the Week (two every week, regular and expert)
    • Ruby Quiz (the solutions and discussions are Ruby, but that doesn't stop you attempting Perl solutions)

      Thanks so much for the sites and links. I also found a link. It is...

Re: Perl Exercises: For Beginners
by Anonymous Monk on Jul 04, 2011 at 19:42 UTC
Re: Perl Exercises: For Beginners
by planetscape (Chancellor) on Jul 05, 2011 at 07:06 UTC
      Thanks to everyone who helped!
Re: Perl Exercises: For Beginners
by RedElk (Hermit) on Jul 08, 2011 at 15:35 UTC

    If you haven't seen these before, you might enjoy the puzzles located here.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://912683]
Approved by Corion
[Lady_Aleena]: What?! Can't stat ~/Music: No such file or directory? The ~/ doesn't expand?
[Lady_Aleena]: And the env variable $HOME doesn't work either. !@#$
[shmem]: no, that's a shell feature. Use $ENV{HOME}
[marioroy]: my $ans = qx{ find \$HOME -name "*.pl" -exec ls -l {} \\; };
[marioroy]: must backslash $ inside qx
[Lady_Aleena]: I haven't written perl for a while, I've been trying to do things at the command line. I'm having to relearn a lot.
[marioroy]: LA can you post the qx find again
[Lady_Aleena]: Things I would have written a script for while I was on Windows, I can run simply on the command line.
[Lady_Aleena]: marioroy, my @music_times = qx(find ~/Music/Albums/ -type f -iname '*.mp3' -exec mp3info -p "%S\n" {} \;); #unfixed

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2017-04-23 21:05 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (432 votes). Check out past polls.