![]() | | ||||||||
| | #1 |
| Next Good Bets Trader Join Date: Jun 2009 Location: India
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
|
Can anybody tell me or point to what are all the interesting tricks in perl programming? I do some perl programming and liked it. Thanks in advance for help. |
| | |
| | |
| | #2 |
| Warrior Member War Room Member Join Date: Feb 2005 Location: USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
I highly recommend the Perl Cookbook from O'Reily. I have found versions of it available online at: mkweb.bcgsc.ca/intranet/perlbook/cookbook/index.htm
|
| | |
| | #3 |
| Active Warrior Join Date: Jun 2009
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
|
Anything coding seek O'Reily..
|
| | |
| | #4 |
| Warrior Member Join Date: May 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
Perl Cookbook from O'Reily!! ![]() Good Luck, Friend! |
|
Sofi Hedz Grupo Mayan Friends | |
| | |
| | #5 |
| Active Warrior War Room Member Join Date: Dec 2008
Posts: 80
Thanks: 2
Thanked 10 Times in 8 Posts
|
###just wanted to throw in one of my favorites. ###variable referencing made easy. $foo='some value'; $bar='some other value'; @variables=qw/foo bar/; for (@variables) {print "$_ is $$_\n"} |
| | |
| | #6 |
| Took The Red Pill War Room Member Join Date: Apr 2006 Location: Here and Now
Posts: 374
Thanks: 124
Thanked 106 Times in 64 Posts
|
Some people might say the best trick Perl can do is a disappearing act. Why people persist with Perl is beyond me when there are more effective and pleasant options available which don't involve self-flagellation. If you cannot be swayed and are certain that this is your chosen path then you may wish to seek out PerlMonks - The Monastery Gates |
| | |
| | #7 |
| Active Warrior War Room Member Join Date: Jul 2009
Posts: 56
Thanks: 2
Thanked 3 Times in 3 Posts
|
For me these tricks are very much effective 1)developer.novell.com/wiki/index.php/Cool_Perl_Tricks 2)Perlcircus.com |
| | |
| | #8 |
| SEO Ninja War Room Member Join Date: Nov 2008 Location: Mesa, AZ near Phoenix
Posts: 214
Thanks: 11
Thanked 119 Times in 45 Posts
|
2 great resources for perl reference and code examples perlfaq perlfunc - perldoc.perl.org Perl is a great language - flexible, ease of coding, modular, huge community, perfect for system administration, established, proven, tons of books, object orientated, and more. #!/usr/bin/perl -wT use strict; start all cgi programs with this as a minimum, and read up on perl cgi security. I like perl far better than any other language because you can code things very quickly, and securely if you know what you are doing. I don't like perl because you can be sloppy, and leave huge gaping security holes if you don't know what you are doing. |
| Phoenix, AZ Internet Marketing Consultant: (site edits, script installs, php/perl/mysql/xhtml/css coding, split testing, code troubleshooting, wordpress, link building, PPC management, Research, SEO & more for a small monthly fee.)
| |
| | |
| | #9 | |
| Active Warrior War Room Member Join Date: Sep 2008
Posts: 59
Thanks: 5
Thanked 11 Times in 10 Posts
| Quote:
)Must admit for web scripting Perl probably isn't the easiest options to go for, but that doesn't mean (by a long shot) its still not used a lot. I think that 80% of my production 'behind the scenes' scripts are Perl code - and at a guess near enough all of my dev testing scripts are. Its a brilliant language to put something together really fast to see if it will work without putting a lot of work into it. See, to make up for your non-believing I will have to go make a Perl script to please the Perl Gods!! edit: mmm not bad for my first post - so hello everyone | |
| | |
![]() |
|
| Tags |
| collection, cool, perl, tricks |
| Thread Tools | |
| |
![]() |