Skip to Content
Programming PERL in the .NET Environment
book

Programming PERL in the .NET Environment

by Yevgeny Menaker, Michael Saltzman, Robert J. Oberg
September 2002
Intermediate to advanced content levelIntermediate to advanced
496 pages
10h
English
Addison-Wesley Professional
Content preview from Programming PERL in the .NET Environment

The Standard Perl Library

As we have seen, programmers can always build their own libraries. There is, however, a Standard Perl Library that is delivered with the Perl distribution and located in the lib subdirectory of your Perl installation. This library contains many useful functions for Perl programs. We illustrate the use of this library with the ctime function that delivers the date and time as a string. You do not need @INC here because the standard library directory is automatically searched. See the folder Time.

 % type time.pl # # time.pl # require "ctime.pl"; $time = time; # builtin time function print "$time"; # as an integer $x=&ctime($time); # standard library function print $x; # date format % perl time.pl 1015454406 Wed Mar 6 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Sams Teach Yourself Perl in 21 Days, Second Edition

Sams Teach Yourself Perl in 21 Days, Second Edition

Laura Lemay, Rafe Colburn
Pro Perl

Pro Perl

Peter Wainwright

Publisher Resources

ISBN: 0130652067Purchase book