Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.319.708 Times

Log::Delimited 0.90

  Date Added: August 05, 2010  |  Visits: 958

Log::Delimited

Report Broken Link
Printer Friendly Version


Product Homepage
Download (94 downloads)



Log::Delimited is a simple module to help log results. SYNOPSIS #!/usr/bin/perl -w use strict; use Log::Delimited; my $log = Log::Delimited->new({ log_cols => [url, step, elapsed], log_info => [http://slap.com/cgi-bin/slow_script, step 1, 99993.0923], })->log; $log->{log_info} = [http://slap.com/cgi-bin/slow_script, step 2, 8.3240]; $log->log; Log is sort of a dumb program that leads to sort of smart stuff. It takes some columns (this, that, else), some data (rulz, rocks!, do something) and a delimiter (|), and makes a file that looks like this this|that|else my_hostname|12342|1000204952|rulz|rocksrocks%21|do+something the first row is a join($delimiter, @column_names), the second (in a little pseudo code) forms @data = ($hostname, $pid, time, $array_ref_of_your_passed_data) then forms the row with join($delimiter, URLEncode(@data)). By the way, you can turn off the hostname, pid and time inclusion, but in most applications, they have come in handy. To turn them off just set which applies from below $self->{no_hostname} = 1; $self->{no_pid} = 1; $self->{no_time} = 1; To turn off Url encoding, just set $self->{no_URLEncode} = 1; In this document, $self is a Log::Delimited object. The log directory is $self->{base_dir} = "/tmp/logs"; $self->{log_dir} ||= "$self->{base_dir}/$self->{log_node}"; Log uses the last part of your script name ($0) for the log_node if you dont pass one. The log file is $self->{log_filename} ||= "$self->{log_dir}/$self->{log_name}"; Log uses the last part of your script name ($0) for the log_name if you dont pass one. Since logs can get to be quite large, you can easily zip, by doing $self->zip; If you have a large log, where size is a bigger issue than speed you can do $self->log_zipped; which will result in just a zipped log file..

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Log Logdelimited Module Name Programming Script Simple Simple Module
Users rating: 0/10

License: Freeware Size: 4.1 KB
USER REVIEWS
More Reviews or Write Review


LOG::DELIMITED RELATED
Scripts  -  Traffic Log 1.0
Traffic Log is a web statistics script. Traffic Log enables you to track hits and unique visitors, hits by page, by date, browser and captures the entry page for each visitor. The log file can be purged of old visits through use of the script....
7 KB  
Scripts  -  Website Builder 1.6
The Website Builder script provides you with all the features you will need to set up your own website, using your own domain name. The script can be added to an already running website, or it can also run on its own. Our script is perfect...
2.97 MB  
Miscellaneous  -  Event driven programming 1.3
Event driven programming script demonstrates how state driven programming can be done in python.
 
Database Tools  -  Simple to Use PHP MySQL Class 1.0
Use this script Simple to Use PHP MySQL Class that I've been using for years in my projects. It's a really easy-to-use PHP class file for connecting to, running queries on and retrieving data from MySQL databases.Just include the file, and set...
10 KB  
Education  -  Banihstypos 0.2
Banihstypos (yes, that is the name) is a simple game to teach you typing, FAST. The project helps you improve your typing by letting you type in a randomly selected word which scrolls by on the screen at an increasing speed. If the word hits the...
9.22 KB  
Development Editors  -  Universal Code Lines Counter 1.1.4
A fast and easy tool for counting source code, blank and comment lines of software projects for many programming/script languages. With this application you get a detailed report (as table and additionally as graphic) about the source code of...
3.88 MB  
Finance  -  Timestomp-GUI 1.0.0
Timestomp-GUI is as the name suggests a simple graphical user interface specially designed for the timestomp program. timestomp is a handy tool designed to enable the deletion or modification of time stamp-related information on files. for...
 
Desktop Utilities  -  Downcount Timer 1.2
Downcount Timer is, just like the name suggest, a simple and very easy to use down count timer. You just type the time you want to count and press 'Start'. Press 'Stop' if you want to stop. FEATURES: ยท Enter time and press 'Enter' key...
1.9 MB  
Graphical Text Tools  -  Character Board 1.0
Character Board is, as the name suggests, a simple, easy to use tool designed to display every ASCII characters containing in any font in keyboard layout and rest as list. You can use this application to view the ASCII Code of any character and...
532 KB  
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB