I'm in love! I just wrote my first Perl script:) [ripit] [pl port]


Freedom Lifestyle Income Program
Re:<< n0c – I have heard of TCL but never knew what it was… is it just another scripting language? It's not like I need to do a lot of this sort of thing anyways though considering this is just my personal machine, not an autonomus server… >>

Yeah, its another scripting language. Some of the things I use are written in tcl (my AIM client and eggdrops use a lot of tcl for the scripting to name a couple). Dont get me wrong, knowing perl is a good thing to have on your resume and can make your life much easier. I just couldnt stand it when I had to use it. Luckily that wasnt for very long. A friend and I got dropped a project a while back at work to write an almost complicated script. Before that I had never looked at perl and hadnt planned on it. Luckily my friend and I got a lot of good help writing it because we would have never figured it out on our own. From that experience, and my brief exposure to perl, I decided I didnt like it. But Im not the programming type ;)


AffiliAcademie
Re:n0c – I have heard of TCL but never knew what it was… is it just another scripting language? It's not like I need to do a lot of this sort of thing anyways though considering this is just my personal machine, not an autonomus server…

Betta Fish Care A Complete Guide to Owning and Caring for Bettas
Re:<< guy – How can a BSD daemon… err… blowfish like yourself not like PERL? I thought it was in the BSD 10 commandments … Thou shall embrace and love PERL! >>

No. Its not. Perl (https://http://www.deadly.org/pollBooth.php3?qid=01102002&aid=-1) barely came out as #1 in this poll (scientifically accurate to 0.0000000000000001% ;) ) on Deadly.org. I like some of the things people have done with perl, I just hate trying to script with it. I want to look into tcl though :D


Rich Jerk Real Estate
Re:guy – How true! Coming from a programming background (2 years of University does not a programmer make though ;) ) PERL seemed extremely
different. At the level I am working with, it was like doing shell commands, but
without a shell :) . I will make furthing rips very tidy and simple though. I really want to clean the script up and make some more features and clean the code so I can make it a port :) . If that guy can make the .pl script a port than I can make my mp3_trans.pl a port :) .

guy – How can a BSD daemon… err… blowfish like yourself not like PERL? I thought it was in the BSD 10 commandments … Thou shall embrace and love PERL!


CruiseGuide 2011 – $9 Product, 50% Commission!
Re:Sorry, the small script I "wrote" a while back planted the seed of hatred for perl in my small (already hatefilled) black heart. :)

How To Get A Bathing Suit Belly
Re:Perl is an acquired taste =)

Database Normalization EBook(R.
Re:Man… does no one dig PERL here?

Amazing Formula For Mind-Programming!
Re:Cool! I would rather do it that way! I found it very unusual to not declare variables (especially the types!). I think I will add that to v0.2 :)

The Formentera Guide
Re:Not really necessary, but if you add 'use strict' to the top of the script, but after the #! line, it'll make you declare all your variables and other things that help in debugging the script. Remember perl by default automatically creates variables so if you type $foo in one place and $goo in another, you'll get very strange results. If you don't want to 'use strict' just add -w to #!/usr/bin/perl and it'll just print warnings about uninitialized variables and such.

Perl also has a built in debugger ('perl -d script' I believe) you can use to step through code, examine variables, etc.


Related posts

Leave a comment

0 Comments.

Leave a Reply


click to changeSecurity Code

[ Ctrl + Enter ]