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

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

Serving Software Downloads in 976 Categories, Downloaded 29.896.202 Times

Fry::Shell 0.15

  Date Added: April 22, 2010  |  Visits: 720

Fry::Shell

Report Broken Link
Printer Friendly Version


Product Homepage
Download (73 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  
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  
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  
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  
Utilities  -  RRFM 0.01a
RetroRemake Framework is a game programming framework for the BlitzMax language by Blitz Research Ltd. This is a temporary page.
194.56 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  
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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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