Sponsored Content
Full Discussion: Beginner for Perl
Top Forums Shell Programming and Scripting Beginner for Perl Post 302207075 by radoulov on Thursday 19th of June 2008 05:20:37 AM
Old 06-19-2008
Quote:
Originally Posted by Franklin52
And one of our moderator cbkihong:

http://www.cbkihong.com/index.pl?op=perltut〈=e
I would recommend perltut by cbkihong too (I'm a Perl beginner and that was my first tutorial).
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Please help. I am a beginner.

Alrigt, I need to write a shell script where it counts the number of folders and files and dispays "My home directory has 'x' files and 'y' directories." So, I was thinking of doing this. set x = `ls | wc` so, if I have 8 files and folders in my home directory, x is not 8. now, I was... (1 Reply)
Discussion started by: Lykathea Aflame
1 Replies

2. Programming

Beginner C

Anyone know where I can get started in C++ programming in unix? Any good free tutorials or websites to start at? I am okay in unix scripting but have never done c programming of any sort... What are the main advantages of using C++ ? (2 Replies)
Discussion started by: frustrated1
2 Replies

3. UNIX for Dummies Questions & Answers

Beginner Help

hi guys, i have a DEl xps laptop cor 2 duo 2.2 i have vista installed on it i want to install a dual Boot UNIX on it.. can some one guide me ...cause i m tottaly new to UNIX i want to install unix on that laptop along with Vista.... thx any help would be deeply appreciated (sorry if i... (5 Replies)
Discussion started by: Farhan082
5 Replies

4. Shell Programming and Scripting

Beginner Help

I need to write a script to test a nsort c program. I have written 8 .txt files with different cases. Also 8 .txt files with expected outcome. The shell I have written always "test pass" for the first case but always "fail" for the rest... Here is a portion of my code (as I still don't know how to... (5 Replies)
Discussion started by: thibodeau
5 Replies

5. UNIX for Dummies Questions & Answers

Beginner - What Should I Do First?

Hi people.... I have just started to learn unix.I want to know which version of Unix to install plus how to install it.I need to practise and make myself aware of how unix works.My thread is from an educational point of view.Also please feel free to give your suggestions as I am... (3 Replies)
Discussion started by: amit.kanade1983
3 Replies

6. Shell Programming and Scripting

Beginner looking for help

Hello, I am trying to write a script that reads names from a file called input, removes names if they have the same letter next to each other and prints the others. e.g. Colin & John would be printed Garry & Lynn would be removed My thinking is that I read in each name and... (3 Replies)
Discussion started by: colinireland
3 Replies

7. Shell Programming and Scripting

Unix Beginner needs help

how do i implement a script that asks user to input a word. it should ask for input a word continuously until the word is longer than 5 characters then stop. this is what i have so far #!/bin/bash read -p "enter word" word1 while ; do echo "continue" done (4 Replies)
Discussion started by: marcusstar10
4 Replies

8. Shell Programming and Scripting

Beginner Perl help Please

Hi I am trying to generate random names using perl script. First let me post my code #!/usr/bin/perl my $name; my @charset = (('A'..'Z'), ('a'..'z')); my $range = $#charset + 1; print "Enter the limit\n"; $lim = <STDIN>; until ($lim == 0){ for (1..8) { $name .=... (2 Replies)
Discussion started by: srijith
2 Replies

9. Shell Programming and Scripting

Beginner Need Help on perl input

Hi, I am beginner perl input I just want to know if I want to make a program that let user input a function such as input " < value " List all files that are less than value The current directory is used. eg input " < 5" list all file that less than 5 in current directory until user input "quit" ... (4 Replies)
Discussion started by: guidely
4 Replies

10. Red Hat

Help me please i am beginner

i have windows 8 host on Dell Laptop vmware 9 redhat 7.2 iso downloaded through redhat official site after installation on vm it only boots into text dont show graphics Please guide:( (1 Reply)
Discussion started by: hananabbas
1 Replies
WWW::IndexParser(3pm)					User Contributed Perl Documentation				     WWW::IndexParser(3pm)

NAME
WWW::IndexParser - Fetch and parse the directory index from a web server SYNOPSIS
use WWW::IndexParser; my @files = WWW::IndexParser->new(url => 'http://www.example.com/dir/'); foreach my $entry (@files) { printf "%s %s ", $entry->filename, scalar(localtime($entry->time)||''); } DESCRIPTION
WWW::IndexParser is a module that uses LWP to fetch a URL from a web server. It then atempts to parse this page as if it were an auto generated index page. It returns an array of WWW::IndexParser::Entry objects, one per entry in the directory index that it has found. Each Entry has a set of methods: filename(), time(), size(), and others if supported by the autoindex generated: type() and size_units(). CONSTRUCTOR
new ( url => $url, timeout => $seconds, proxy => $proxy_url, debug => 1 ) When called with a URL to examine, this method does not return an object, but an array of WWW::IndexParser::Entry obects, one per entry in the directory listing that was accessed. The options to this are: url The complete URL of the index to fetch. timeout The timeout for the request to fetch data, default 10 seconds. proxy A proxy server URL, eg, 'http://proxy:3128/'. debug Decide if to print parsing debug information. Set to 0 (the default) to disable, or anything non-false to print. Recommened you use a digit (ie, 1) as this may become a numeric 'level' of debug in the future. METHODS
All methods are private in this module. Pass only a URL to the constructor, and it does everything for you itself. PREREQUISUTES
This modile depends upon "LWP", "HTML::Parser", "Time::Local". OSNAMES
any BUGS
Currently only supports Apache, IIS and Tomcat style auto indexes. Send suggestions for new Auto-Indexes to support to the author (along with sample HTML)! AUTHOR
James Bromberger <james@rcpt.to> COPYRIGHT
Copyright (c) 2006 James Bromberger. All rights reserved. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2008-06-23 WWW::IndexParser(3pm)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy