Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 06-24-2009, 10:16 AM   #1
Next Good Bets Trader
 
Join Date: Jun 2009
Location: India
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default Cool Perl Tricks Collection

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.

BenjaminGates is offline   Reply With Quote
Old 07-05-2009, 10:41 PM   #2
Warrior Member
War Room Member
 
Join Date: Feb 2005
Location: USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Cool Perl Tricks Collection

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
cfountain is offline   Reply With Quote
Old 07-07-2009, 02:12 PM   #3
Active Warrior
 
Join Date: Jun 2009
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: Cool Perl Tricks Collection

Anything coding seek O'Reily..
solidsoul is offline   Reply With Quote
Old 07-08-2009, 12:52 PM   #4
Warrior Member
 
Join Date: May 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Cool Perl Tricks Collection

Perl Cookbook from O'Reily!!
Good Luck, Friend!

Sofia22 is offline   Reply With Quote
Old 07-08-2009, 01:23 PM   #5
Active Warrior
War Room Member
 
Join Date: Dec 2008
Posts: 80
Thanks: 2
Thanked 10 Times in 8 Posts
Default Re: Cool Perl Tricks Collection

###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"}
amerigo is offline   Reply With Quote
Old 07-09-2009, 03:37 AM   #6
Took The Red Pill
War Room Member
 
xiaophil's Avatar
 
Join Date: Apr 2006
Location: Here and Now
Posts: 374
Thanks: 124
Thanked 106 Times in 64 Posts
Contact Info
Send a message via Skype™ to xiaophil
Default Re: Cool Perl Tricks Collection

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
xiaophil is offline   Reply With Quote
Old 07-13-2009, 12:37 AM   #7
Active Warrior
War Room Member
 
Join Date: Jul 2009
Posts: 56
Thanks: 2
Thanked 3 Times in 3 Posts
Default Re: Cool Perl Tricks Collection

For me these tricks are very much effective

1)developer.novell.com/wiki/index.php/Cool_Perl_Tricks
2)Perlcircus.com
zain654321 is offline   Reply With Quote
Old 07-14-2009, 08:17 AM   #8
SEO Ninja
War Room Member
 
JamesFraze's Avatar
 
Join Date: Nov 2008
Location: Mesa, AZ near Phoenix
Posts: 214
Thanks: 11
Thanked 119 Times in 45 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to JamesFraze
Default Re: Cool Perl Tricks Collection

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.)
JamesFraze is offline   Reply With Quote
Old 07-24-2009, 01:13 PM   #9
Active Warrior
War Room Member
 
Join Date: Sep 2008
Posts: 59
Thanks: 5
Thanked 11 Times in 10 Posts
Default Re: Cool Perl Tricks Collection

Quote:
Originally Posted by xiaophil View Post
Some people might say the best trick Perl can do is a disappearing act.

Why people persist with Perl is beyond me .....
Wow, got to say that opinion is one that I don't hear very often and personally can't agree with. (Just a personal opinion though, not saying your opinion is wrong )

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
fatboy is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
collection, cool, perl, tricks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 03:44 AM.