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.216.014 Times

Fry::Shell 0.15

  Date Added: April 22, 2010  |  Visits: 1.099

Fry::Shell

Report Broken Link
Printer Friendly Version


Product Homepage
Download (91 downloads)



Fry::Shell is a flexible shell framework which encourages using loadable libraries of functions. SYNOPSIS From the commandline: perl -MFry::Shell -eshell OR In a script: package MyShell; use Fry::Shell; #subs sub evalIt { my $cls = shift; my $code = ($cls->Flag(strict)) ? use strict; : ; $code .= "@_"; eval "$code"; } sub listStations { my $cls = shift; my @stations = ( {name=>high energy trance/techno,ip=>http://64.236.34.196:80/stream/1003}, {name=>macondo salsa,ip=>http://165.132.105.108:8000}, {name=>new age,ip=>http://64.236.34.67:80/stream/2004}, ); $cls->saveArray(map{$_->{ip}} @stations); return map {$_->{name}} @stations; } #set shell prompt my $prompt = "Clever prompt: "; #initialize shell and load a command and an option my $sh = Fry::Shell->new(prompt=>$prompt, load_obj=>{ cmds=>{listStations=>{a=>lS}}, opts=>{strict=>{type=>flag,a=>n,default=>0}} } ); #begin shell loop $sh->shell(@ARGV); ####end of example, start of other possible methods #run shell once $sh->once(@ARGV); #loads libraries and runs each librarys &_initLib $sh->initLibs(@modules); $sh->loadFile($file); $sh->loadPlugins($myplugin); $sh->runCmd($cmd); Fry::Shell is a simple and flexible way to create a shell. Unlike most other light-weight shells, this module facilitates (un)loading libraries of functions and thus encourages creating shells tailored to several modules. Although the shell is currently only viewable at the commandline, the framework is flexible enough to support other views (especially a web one. This module is mainly serving(will serve) as the model in an MVC framework. From a user perspective it helps to know that a shell session consists of mainly four shell components (whose classes are known as core classes) : libraries (lib), commands (cmd), options (opt) and variables(var). Commands and options are the same as in any shell environment: a command mapping to a function and an option changing the behavior of a command ie changing variables within it or calling functions before the command. Variables store all the configurable data, including data relating to these commands and options. Libraries are containers for a related group of these components..

Requirements: No special requirements
Platforms: Linux
Keyword: Commands Flexible Framework Fryshell Libraries Options Programming Shell
Users rating: 0/10

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


FRY::SHELL RELATED
Development Editors  -  Capsule Framework For Linux 1.1.0.0
Capsule Framework is an actor based framework for event driven programming. The Capsule Framework simplifies the design and implementation of distributed and threaded applications and servers.
686.08 KB  
Programming  -  JRepository Framework 0.1.beta
A Standalone and Flexible Framework which allows java developers to access CVS with minimal understanding of its implementation details. JRepository is a command pattern based framework where each command wraps a cvs command. Most common commands...
60.39 KB  
Libraries  -  Euphoria Programming Language 2.3
Euphoria is a simple, flexible, and easy-to-learn programming language, that outperforms all popular interpreted languages. It includes a simple database system, and there's a Euphoria To C Translator for extra speed. The source code to the...
928 KB  
Libraries  -  LdapTemplate 1.0.2
LdapTemplate is a framework to simplify LDAP programming in Java, built on the same principles as Spring Jdbc. LdapTemplate is a framework to simplify LDAP programming in Java, built on the same principles as Spring Jdbc. The LdapTemplate...
348.16 KB  
Network & Internet  -  MediaPipe 0.8.9r2
MediaPipe is a flexible framework to manipulate medias. It allows building customized decoding/filtering/encoding pipelines. This project contains the MediaPipe SDK along with some sample pipes.
3.65 MB  
Database Tools  -  subPersistence 0.10.0
subPersistence is an abstract, light-weight yet flexible framework for working with O/R persistence mappers. It provides for independence of a specific O/R mapper such as Hibernate or Castor. While you can use Hibernate or Castor (or other O/R...
40.96 KB  
Libraries  -  Nana C++ Library 0.1.14
Nana C++ Library was designed in order to provide a software framework for cross-platform programming. Many components, such as graphics user interface and threads are present. Nana is an Open-Source library written in C++ with OO and generic.
 
Science  -  HELEN 3 Tools 20110203
HELEN is a flexible framework to support the computer-based management of Clinical Practice Guidelines (CPG). It covers the whole life-cycle of a guideline, providing methods and tools for each step (from development to clinical use).
8.67 MB  
Science  -  Khronos DES 20110127
General purpose discrete event simulation (DES) framework for the Python programming language. Khronos gathers ideas from other simulation software and tries to provide a simple and poweful toolset for simulation of discrete systems.
304.08 KB  
Multimedia & Graphics  -  The Chromium Project 1.9
Chromium is a flexible framework for scalable real-time rendering on clusters of workstations, derived from the Stanford WireGL project code base.
7.72 MB  
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