Sponsored Content
Full Discussion: Open Source Cloud Software
Special Forums UNIX and Linux Applications Virtualization and Cloud Computing Open Source Cloud Software Post 302653993 by satimis on Monday 11th of June 2012 06:06:13 AM
Old 06-11-2012
Quote:
Originally Posted by ni2
OpenShift by RedHat


https://openshift.redhat.com/app/

I haven't used it though.
Hi,

Thanks for your advice.

I already started my journey on OpenStack Essex.
Home OpenStack Open Source Cloud Computing Software

I'll test OpenShift after OpenStack

B.R.
satimis
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Open source mathematical software for scientists & engineers

I'm look for some opinion on mathematical software from any engineers out there. What is the open source application that --in your opinion(s) -- best meets the same requirements as Mathematica or Maple? I'm running FreeBSD & Linux, btw. (3 Replies)
Discussion started by: Aaron Van
3 Replies

2. UNIX and Linux Applications

need open source KB software for UNIX

Anyone know of a good open source Knowledge Base software for UNIX that can connect to an Oracle back end? (0 Replies)
Discussion started by: RJ45
0 Replies
CGI::FormBuilder::Source(3pm)				User Contributed Perl Documentation			     CGI::FormBuilder::Source(3pm)

NAME
CGI::FormBuilder::Source - Source adapters for FormBuilder SYNOPSIS
# Define a source adapter package CGI::FormBuilder::Source::Whatever; sub new { my $self = shift; my $class = ref($self) || $self; my %opt = @_; return bless \%opt, $class; } sub parse { my $self = shift; my $file = shift || $self->{source}; # open the file and parse it, or whatever my %formopt; open(F, "<$file") || die "Can't read $file: $!"; while (<F>) { # ... do stuff to the line ... $formopt{$fb_option} = $fb_value; } # return hash of $form options return wantarray ? %formopt : \%formopt; } DESCRIPTION
This documentation describes the usage of FormBuilder sources, as well as how to write your own source adapter. An external source is invoked by using the "source" option to the top-level "new()" method: my $form = CGI::FormBuilder->new( source => 'source_file.conf' ); This example points to a filename that contains a file following the "CGI::FormBuilder::Source::File" layout. Like with the "template" option, you can also specify "source" as a reference to a hash, allowing you to use other source adapters: my $form = CGI::FormBuilder->new( fields => @fields, source => { type => 'File', source => '/path/to/source.conf', } ); The "type" option specifies the name of the source adapter. Currently accepted types are: File - CGI::FormBuilder::Source::File In addition to one of these types, you can also specify a complete package name, in which case that module will be autoloaded and its "new()" and "parse()" routines used. For example: my $form = CGI::FormBuilder->new( fields => @fields, source => { type => 'My::Source::Module', somefile => '/path/to/source.conf', } ); All other options besides "type" are passed to the constructor for that source module verbatim, so it's up to you and/or the source module on how these additional options should be handled. SEE ALSO
CGI::FormBuilder, CGI::FormBuilder::Source::File, REVISION
$Id: Source.pm 100 2007-03-02 18:13:13Z nwiger $ AUTHOR
Copyright (c) Nate Wiger <http://nateware.com>. All Rights Reserved. This module is free software; you may copy this under the terms of the GNU General Public License, or the Artistic License, copies of which should have accompanied your Perl kit. perl v5.14.2 2011-09-16 CGI::FormBuilder::Source(3pm)
All times are GMT -4. The time now is 07:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy