22858 total geeks with 3297 solutions
Recent challengers:
best bread maker
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
sefo
anilg, new comments are deleted automaticall y because of some abuse recently
anilg
this is plain wierd. I submitted comments twice to article 950, and they dont seem to be there. Something wrong with the comment code?
CodeX
shout-boxes in general are old + the staff thing happened to everyone after an issue 2 months ago
anilg
/me is no longer staff :(
anilg
Also, osix's shoutbox predated twitter. Heh.

Donate
Donate and help us fund new challenges
Donate!
Due Date: Jul 31
July Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
UK.gov sticks to IE
6 cos it"s more
"cost effective",
innit
T-Mobile UK pumps
out the iPhone 4
Polaroid 300
instant print
camera
NatWest dumps O2
Money
YouTube ups video
time limit
Alleged expenses
fiddlers to face
justice
Nude trampolinist
bounces free from
court
Nexus One phone
rockets to 28,000ft
UK.gov drops £6m on
Google
Fake Firefox update
used to sling
scareware
Slashdot
British ISPs Favour
Well-Connected
Customers
"Bizarre"
Nanobubbles Found
In Strained
Graphene
1-in-1,000 Chance
of Asteroid Impact
In
...
2182?
2 Chinese ISPs
Serve 20% of World
Broadband Users
World"s Fastest
Hybrid OK"d For
Production
Sometimes It"s OK
To Steal My Games
Thermoelectrics
Could Let You Feel
the Heat In Games
KDE SC 4.7 May Use
OpenGL 3 For
Compositing
Perl 6, Early, With
Rakudo Star
Internal Costs Per
Gigabyte —
What Do You Pay?
Articles in topic

Perl

Perl: Batch-download YouTube videos to MP3s with ID3 Tags
by: ateam - 2009-10-26 16:50:33
I am a university student double-majoring in Italian and CompSci. I am very involved with helping the Italian department get up to speed with the 21st century in terms of digital media.

One recent project involved getting 120 YouTube videos into MP3 format for the students and the professor of an Italian Music class. A little research brought me to "youtube-dl." From this and two other tools, I put together a script to take care of this task for me automatically!
5454 bytes more - viewed 2481 times - comments - zero rated
Perl: An IRC Bot in Perl
by: k0rn - 2009-04-30 17:42:42
This is an IRC bot I wrote in perl. Tell me what you think. I took the ytbot idea of showing the title of a youtube url, and I used it for porn instead.
15525 bytes more - viewed 2185 times - comments - rated
Perl: Cute DBI
by: thinkt4nk - 2008-08-15 19:32:15
Simple DBI interface for perl's DBI::CSV that I hacked up.
1467 bytes more - viewed 1812 times - comments - zero rated
Perl: Socket programming in Perl: Part II
by: thinkt4nk - 2008-06-29 20:13:59
In this second part of the two part series, we discuss socket programming using the IO::Socket subclass.
7607 bytes more - viewed 3989 times - comments - rated
Perl: Diving into the Perl Regular Expression Engine
by: thinkt4nk - 2008-06-05 04:38:32
Basic regex functionality and syntax using Perl
14459 bytes more - viewed 3803 times - comments - rated
Perl: Socket programming in Perl: Part I
by: thinkt4nk - 2008-05-20 00:13:46
In this first part of the two part series, we discuss socket programming using the Socket.pm module
8996 bytes more - viewed 3440 times - comments - rated
Perl: Bitwise Operators in Perl
by: trapt - 2008-05-16 22:13:22
How to Use Bitwise Operators in Perl
9655 bytes more - viewed 9592 times - comments - rated
Perl: Perlfect for Intranet
by: ketan404 - 2006-11-13 08:42:35
Perlfect is a website search engine developed in Perl. You can do Knowledge Management with Perlfect. Basically any search engine can be used but Perlfect is freely available.
2397 bytes more - viewed 3568 times - comments - rated
Perl: Command Line TV Recording
by: ateam - 2005-10-09 13:55:37
Recording shows off of your Linux-supported TV tuner card has never been easier!
6206 bytes more - viewed 9821 times - comments - zero rated
Perl: ACPI Battery stats for the command line
by: ateam - 2005-07-25 10:53:33
In a further attempt to get useful battery information without having to launch some fancy GUI, I wrote this neat little script...
4260 bytes more - viewed 6309 times - comments - zero rated
Perl: ACPI Battery Check
by: ateam - 2005-04-10 21:53:02
One of my Christmas presents this past year was a nice, 4 lbs. laptop. I use the Enlightenment window manager under Linux, thus, when my laptop's battery is getting too low, I don't have any application in my face warning me about it, like with KDE or Windows. Thus, I wrote a script to check the status of my battery and determine whether or not anything needs to be done about it. This is a short guide on using my script with your laptop.
5114 bytes more - viewed 10930 times - comments - rated
Perl: Automating Downloads
by: telekinetic - 2005-03-29 17:11:01
How to automate the download of similar looking files with the help of PERL.
3637 bytes more - viewed 15091 times - comments - rated
Perl: Interaction Flash/Perl
by: sefo - 2005-01-17 20:14:12
How can we use flash as an interface to a perl login script?
And some other ActionScript/Perl tips.
For this article I use SwishMax but any tool will do.
5362 bytes more - viewed 16949 times - comments - rated
Perl: RFC: Use of hashes
by: w0lf - 2004-08-20 10:00:27
So I had to knock together some code to create a list of gift aid donations and this is what I came up with. I'm interested to know if this is similar to how others would have done it or if I've missed a "proper" method for coding this, so please comment.
1252 bytes more - viewed 10200 times - comments - rated
Perl: Perl crypt() function
by: Phishy - 2004-08-05 05:46:01
An introduction to the Perl crypt() function and some example uses.
2728 bytes more - viewed 77607 times - comments - rated
Perl: Using Digest::MD5 to create hashes
by: Codecfault - 2004-01-22 00:37:36
Shows how to create encrypt using the Digest::MD5 module
2112 bytes more - viewed 7770 times - comments - rated
Perl: How to make code do your work for you
by: dimport - 2003-07-06 20:11:51
A small and lazy aproach to a bit of perl using system commands ;]
3267 bytes more - viewed 5120 times - comments - zero rated
Perl: Perl Bot
by: dimport - 2003-06-21 07:19:46

This is a stripped down perl bot with only the very basic commands.
2342 bytes more - viewed 10564 times - comments - rated
Perl: News syndication (RSS) with Perl
by: dimport - 2003-06-21 07:19:46
So you want to retrieve some news headlines from a website, or generate some headlines for your own website ?
That's pretty easy once you've installed the XML::RSS module.

The most difficult part of it all is understanding the basic structure of an RSS file, and knowing what you can do with it.
Let's throw in a couple of definitions first so you know a little bit about the terminology, and then we'll move on to more practical examples...
10276 bytes more - viewed 7086 times - comments - rated
Perl: Googling with SOAP::Lite
by: dimport - 2003-06-21 07:19:46
As you may have heard, Google has decided to open up its search engine and provide Web APIs (in beta) for non-commercial use.
For more information and (required) registration, see http://www.google.com/apis/

The developer's kit includes a large Java and .NET example, so here's a smaller example with Perl and the SOAP::Lite module :)
2730 bytes more - viewed 6982 times - comments - rated
Perl: A simple perl poll survey
by: dimport - 2003-06-21 07:19:46
Have you ever wanted to implement your own version of a poll upon your site? Ever need that one little poll without all the complexities?

Well, this small coding example demonstrates how to implement a simple, but effective, poll survey - Using just a few lines of perl, and a dash of HTML..
4416 bytes more - viewed 8495 times - comments - rated
Perl: Simple perl web-counter
by: dimport - 2003-06-21 07:19:46
Once upon a time, before PHP .. before ASP .. before Barnseyboy last had a shave - People used Server Side Includes (SSI) to invoke counters and a variety of other Perl scripts.

Today, I will take you back to that time, were we shall implement our very own perl-based counter, invoked by the aforementioned SSI.
2166 bytes more - viewed 9297 times - comments - rated
Perl: Base64 Encoder/Decoder in Perl
by: dimport - 2003-06-21 07:19:46
This is basically a simple usage of the MIME::Base64 module.
1056 bytes more - viewed 17247 times - comments - zero rated
Perl: Win32 API in Perl
by: dimport - 2003-06-21 07:19:46
This is a simple example of how to work with Win32 API in perl.
2007 bytes more - viewed 20085 times - comments - rated
Perl: Simple Perl Cryptography Script
by: dimport - 2003-06-21 07:19:46
This is a simple perl script to encrypt text, you can find a cgi version of this code online at The Red Network
1292 bytes more - viewed 7077 times - comments - rated
Perl: Line Breaks Converter
by: dimport - 2003-06-21 07:19:46
You know how it's annoying to read a nix text file under windows and to see additional characters in a windows text file under nix. Here's what it's all about.
4127 bytes more - viewed 11756 times - comments - rated
Perl: simple perl server
by: dimport - 2003-06-21 07:19:46
Simple server in perl

How does it work:
this program opens a socket and binds it to
the port you specified in the command line
then it waits for the client commands.
The client can be anyone connecting
through telnet or a specific client.

Limitations:
- only one client at a time can connect
(no multithreading
(so no need to clean every dead child(zombies))
2081 bytes more - viewed 16379 times - comments - rated
Perl: Simple Encryption Using XOR in Perl
by: dimport - 2003-06-21 07:19:46
You guys seen a simple crypt algo in perl, but this time another encryption algorithm, one that can be reversed..
a useful method..
is called One-Time Pass, it uses bit-wise XOR'ing of strings..
a random string of the same length as the message is generated..
that is then XOR'ed, character-by-character, on the
message, the result is mixed but when
you XOR this mix with the same random string, you get the original message back :D


1418 bytes more - viewed 22169 times - comments - rated
Perl: Using sendmail in Perl
by: dimport - 2003-06-21 07:19:46
Here's a CGI script you can run on a server that uses sendmail.
(usually every *nix servers and some NT stations run sendmail.)

This script allows you to get an e-mail from someone visiting your website
via the following HTML form:
2453 bytes more - viewed 7966 times - comments - rated
Perl: Perl/Tk tutorial part1
by: dimport - 2003-06-21 07:19:46
Perl/tk (perl tool kit) is a set of modules and wigets to use with perl5+
so as to create programs with Graphical User Interfaces (GUI).
9505 bytes more - viewed 33908 times - comments - rated
Perl: Associative Arrays
by: dimport - 2003-06-21 07:19:46
Most of you know that arrays can be accessed by numbers, but did you also know that they can be accessed by strings too? This type of array is called associative arrays and is very easy to use, read on!
432 bytes more - viewed 6261 times - comments - zero rated
Perl: System Information in Perl
by: dimport - 2003-06-21 07:19:46
Here are some tips on how to work with system and user informations on Linux. You won't need any additional modules.
5666 bytes more - viewed 11326 times - comments - rated
Perl: Creating a Hello World program in Perl
by: dimport - 2003-06-21 07:19:46
gOtHiC_fReAk` shows us how to write hello world simply in perl, with both the perl and CGI versions. Nice little taster.
1619 bytes more - viewed 6677 times - comments - rated
Perl: Prime number finder
by: dimport - 2003-06-21 07:19:46
This is a nice example of how to find a prime number in the ranges of 1 to 100 using perl. This is also useful for some well known challenges on this site!
316 bytes more - viewed 12056 times - comments - zero rated
Perl: Perl Sysadmin Shell History Script
by: dimport - 2003-06-21 07:19:46
This is a short perl script I wrote to help me keep an eye on what user's on my server are doing in their shells.
3342 bytes more - viewed 8081 times - comments - rated
Perl: Perl IP to Domain Name weblog converter
by: dimport - 2003-06-21 07:19:46
This script takes a common logfile format httpd logfile and converts every instance of an IP address to it's fully qualified domain name (if the mapping exists).
2715 bytes more - viewed 13407 times - comments - zero rated
Perl: Basic Perl Tutorial for Beginners
by: dimport - 2003-06-21 07:19:46
I myself am trying to start learning Perl, now that I feel a little more relaxed in C.
I have been looking for an "easy to understand" tutorial, even though I have bought books, somehow the authors didn't seem to write them with the frightened newbie in mind.....
256 bytes more - viewed 15369 times - comments - rated
Perl: Perl Kazaa User Connection Checker
by: dimport - 2003-06-21 07:19:46
Kazaa is a peer-to-peer file sharing framework that allows individuals to share files across the internet.
This script is an attempt to allow you to determine, by name, which Kazaa user's are connected to you from which IP address, so that firewall rules can be added to block users who are not sharing any files or otherwise being annoying.
4175 bytes more - viewed 13714 times - comments - zero rated
Perl: The Future of Perl?
by: dimport - 2003-06-21 07:19:46
I came across this on a mailing list archive recently and thought it really highlighted the current state of perl, I know a lot of OSI visitors are Perl advocates and I’m interested to see your rebuttal to this guy’s points, so, please leave a comment :)
6292 bytes more - viewed 12400 times - comments - rated
Perl: Login script w/perl
by: dimport - 2003-06-21 07:19:46
Since I've been writing some tutorial's about php I want all you guys to know that Perl still > PHP in every way ;p
878 bytes more - viewed 24712 times - comments - rated
Perl: The Perl Regex
by: dimport - 2003-06-21 07:19:46
So you wanna learn Perl and you downloaded some source code to get yourself started, huh? Can't figure out what all the regex means? Well im here for you. :)
2952 bytes more - viewed 6880 times - comments - rated
Perl: Playing with the Regex
by: dimport - 2003-06-21 07:19:46
If you havn't worked with regex before, I recomment you to read my pre-tutorial (you will have to search for it :), this one will contain a little more "advanced" info on Regex's.
1806 bytes more - viewed 8538 times - comments - rated
Perl: Receiveing Form Data Using the Post Method
by: dimport - 2003-06-21 07:19:46
In this article I will show how to receive form data using the post method, and explain what the code is doing at each step.
2281 bytes more - viewed 10116 times - comments - rated
Perl: Perl and IO::Socket
by: dimport - 2003-06-21 07:19:46
Sockets are very easy, like most things in perl. In this tutorial you'll learn how to create a client and a server and how to get data from it.
2634 bytes more - viewed 21932 times - comments - rated

Features

The Forums
Re: unable to
load level 3
images

(CodeX/Geek Tips)
unable to load
level 3 images

(viv0411/Geek Tips)
Re: reverser 8
(Zaphod/Geek Tips)
Re: Bonus 4 -
Sound Waves

(adi2004/Geek Tips)
Re: Level 1
(sajchurchey/Geek Tips)

Recent Blogs
Glad to be back
here in OSIX
Free Laptop
Prams Buggies
and Pushchairs
0 comments
bb's blog
Fri 26th Feb 9am
First one
1 comment
Action's blog
Tue 12th Jan 10pm
A Daily
Profanity at
dailyprofanity.
com
0 comments
bb's blog
Mon 21st Dec 11am

Current Poll
What's an
appropriate
response to a
hacker?

Contact Police/Authorit ies
Give Praise
Do Nothing
Ban Known IPs (but proxy option remains)
Deactivate Account
Delete from HoFs
Hall of Shame
Other (Please Comment)



View Results
(15 Comments)

Site Comments
Buy D
(Anonymous / Creating a Lexical Analyzer in C / amisauv's blog)
Fationable
PUMA Run

(Anonymous / agh, the irc java applet / Renegade's blog)
Fationable
PUMA Run

(Anonymous / my tut is uberl33t...read / Renegade's blog)
Fationable
PUMA Run

(Anonymous / hey if i get the power to / Renegade's blog)
Fationable
PUMA Run

(Anonymous / bb: what do you mean NEAR / Renegade's blog)
Fationable
PUMA Run

(Anonymous / my alergy medicine is mak / Renegade's blog)
Fationable
PUMA Run

(Anonymous / ahh, the joy of ham. / Renegade's blog)
Fationable
PUMA Run

(Anonymous / because that's what chris / Renegade's blog)
Fationable
PUMA Run

(Anonymous / damn! caffene rush! put c / Renegade's blog)
http://www.gucc
iusaoutlet.net/
index.php?ma...

(Anonymous / Glad to be back here in OSIX / jericocampos's blog)


     
Your Ad Here
 
Copyright Open Source Institute, 2006