返回首页
当前位置: 主页>Perl>
  • How to read and write files in Perl 日期:2009-04-06 01:59:08 点击:7 好评:0

    Next : Writing to a file in Perl Perl is an ideal language for working with files. It has the basic capability of any shell script, and some very advanced tools, like regular expressions, that make it infinitely more useful. In order to work with fil...

  • Creating a simple service monitoring CGI script 日期:2009-04-06 01:59:08 点击:6 好评:0

    If you're responsible for more than one web server, or multiple services on one or many servers (SSH, FTP, Web, etc). It can be a little difficult to make sure all your services are up and running. There are several programs on the web that assist in...

  • Working with CGI.pm In-Depth 日期:2009-04-06 01:59:06 点击:3 好评:0

    Since HTTP is by definition a stateless protocol, we need a method to retain sessions across transactions. This can be done in several ways, but the most clean and common is by setting a cookie in the client's browser. A cookie is basically a key / va...

  • Globbing a Directory 日期:2009-04-06 01:59:06 点击:2 好评:0

    It's very simple to print a list of all files in a directory using the built-in Perl glob function. Let's look over a short script that globs and prints a list of all files, in the directory containing the script itself: #!/usr/bin/perl -w @files = *...

  • Working with CGI.pm In-Depth - Creating HTML Forms 日期:2009-04-06 01:59:05 点击:3 好评:0

    You can also use Perl's CGI.pm to easily create HTML forms and process their input. Let's start by taking a look at the most basic aspect of creating HTML forms with CGI.pm - starting and stopping the form. CGI.pm has two simple functions, the last of...

  • Working with CGI.pm In-Depth - Creating an HTML Document 日期:2009-04-06 01:59:04 点击:4 好评:0

    Perl's CGI module, CGI.pm, is a quick and easy way to create CGI applications with embedded HTML. It saves you the hassle of editing and working with actual HTML in your perl programs, or dealing with the overhead of a templating system. We've already...

  • 'Hello World' using CGI.pm 日期:2009-04-06 01:59:03 点击:3 好评:0

    We've already seen how to make a simple, raw CGI program using nothing but Plain ol' Perl to print our HTML, now it's time to discover an easier way to create CGI programs with Lincoln Stein's CGI.pm (Perl Module). CGI.pm typically comes with the stan...

  • Email to a Friend 日期:2009-04-06 01:59:02 点击:5 好评:0

    Email to a Friend You're recommending the following page: http://perl.about.com/od/cgiweb/u/cgi_programming.htm Recipient's email address: (required, max. 10) Separate multiple addresses with commas Your comments: (optional, max 250 chars.) Your name:...

  • Help Center 日期:2009-04-06 01:58:47 点击:2 好评:0

    Help Center Contact Customer Care Questions: How do I contact the Guide of a site? How do I unsubscribe from newsletters? How do I update my e-mail address on newsletters? How do I submit my website to About.com search? How can I get permission to rep...

  • Sign up for your Perl Newsletter 日期:2009-04-06 01:58:46 点击:2 好评:0

    ...

  • do until loop - Beginning Perl Tutorial, Control Structures 日期:2009-04-06 01:58:45 点击:3 好评:0

    Perl's do .. until loop is almost exactly the same as the until loop with one crucial difference - the code is executed before the expression is evaluated. It is used to loop through a designated block of code until a specific condition is evaluated a...

  • until loop - Beginning Perl Tutorial, Control Structures 日期:2009-04-06 01:58:45 点击:2 好评:0

    Next : Examples of Perl's until loop Perl's until loop is used to loop through a designated block of code until a specific condition is evaluated as true. It is the logical opposite of the while loop. until (expression) { ... } Perl starts the block...

  • do while loop - Beginning Perl Tutorial, Control Structures 日期:2009-04-06 01:58:43 点击:2 好评:0

    Perl's do .. while loop is almost exactly the same as the while loop with one crucial difference - the code is executed before the expression is evaluated. It is used to loop through a designated block of code while a specific condition is evaluated a...

  • while loop - Beginning Perl Tutorial, Control Structures 日期:2009-04-06 01:58:43 点击:1 好评:0

    Next : Examples of Perl's while loop Perl's while loop, is used to loop through a designated block of code while a specific condition is evaluated as true. while (expression) { ... } Perl starts the block by evaluating the expression inside the paren...

  • for loop - Beginning Perl Tutorial, Control Structures 日期:2009-04-06 01:58:42 点击:2 好评:0

    Next : Examples of Perl's for loop Perl's for loop, or for statement is used to loop through a designated block of code until a specific condition is met. The statement is made in three parts - the initial expression, the test expression, and a re-in...

  • foreach - Beginning Perl Tutorial, Control Structures 日期:2009-04-06 01:58:41 点击:1 好评:0

    Next : A cleaner foreach loop The foreach loop is a control structure that's tailor made to process Perl lists and hashes. Just like the for loop, foreach steps through each element of an array using an iterator. Rather than using a scaler as that it...

  • Perl Absolute Beginners Guide - Lesson Two 日期:2009-04-06 01:58:40 点击:2 好评:0

    The heart of any programming language is it's ability to manipulate data . Computers and computer programs would be of very little use if there was no way to introduce our own data to them so that we can do some actual computing. Even something as out...

  • How to Install Perl on a Windows system - ActivePerl 日期:2009-04-06 01:58:39 点击:2 好评:0

    ActivePerl is a distribution - or pre-configured, ready-to-install package - of Perl. It is also one of the best (and easiest) installations of Perl for Microsoft Windows systems. Before we can install Perl on your windows system, you'll need to downl...

  • Perl Absolute Beginners Guide - Lesson One 日期:2009-04-06 01:58:39 点击:2 好评:0

    Perl is a great first language for people with no programming experience. It is easy to install, and actually comes pre-installed on most non-Windows operating systems. It has a very open syntax which, although very complex, is also very forgiving. It...

  • Programming Perl CGI Scripts & Web Software 日期:2009-04-06 01:58:38 点击:1 好评:0

    Programming Perl CGI Scripts & Web Software From About.com Learn everything about creating web sites in Perl, from simple CGI scripts to Web Frameworks. Whether you're looking for a quick one off script or building a complex application, this is the p...

  • Perl Tutorials & Perl Programming Help 日期:2009-04-06 01:58:37 点击:1 好评:0

    Perl Tutorials Perl Programming Help From About.com Walk through all aspects of programming in Perl from beginner tutorials to more advanced and practical tips. Looking for Perl function and control structure reference? You'll find an extensive list o...

  • Email to a Friend 日期:2009-04-06 01:58:36 点击:2 好评:0

    Email to a Friend You're recommending the following page: http://perl.about.com/od/gettingstartedwithperl/u/learn_perl.htm Recipient's email address: (required, max. 10) Separate multiple addresses with commas Your comments: (optional, max 250 chars.)...

  • <a href="/" zT="18/1Yc/Zx" title=&quo 日期:2009-04-06 01:58:35 点击:2 好评:0

    ...

    125条记录
推荐内容