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 31.569.161 Times

Env::Bash 0.04

  Date Added: February 20, 2010  |  Visits: 586


Report Broken Link
Printer Friendly Version

Product Homepage
Download (70 downloads)

Env::Bash is a Perl extension for accessing _all_ bash environment variables. SYNOPSIS use Env::Bash; Standard interface: my @var = get_env_var( "SORCERER_MIRRORS", Source => "/etc/sorcery/config", ); print "SORCERER_MIRRORS via get_env_var:n", join( "n", @var ), "ncount = ", scalar @var, "n"; @var = Env::Bash::SORCERER_MIRRORS ( Source => "/etc/sorcery/config", ); print "SORCERER_MIRRORS via name:n", join( "n", @var ), "ncount = ", scalar @var, "n"; my @keys = get_env_keys( Source => "/etc/sorcery/config", SourceOnly => 1, ); print "first 10 keys:n", map { " $_n" } @keys[0..9]; Object oriented interface: my $be = Env::Bash->new( Source => "/etc/sorcery/config", Keys => 1, ); my @var = $be->get( "SORCERER_MIRRORS" ); print "SORCERER_MIRRORS via get:n", join( "n", @var ), "ncount = ", scalar @var, "n"; @var = $be->SORCERER_MIRRORS; print "SORCERER_MIRRORS via name:n", join( "n", @var ), "ncount = ", scalar @var, "n"; $be = Env::Bash->new( Keys => 1,); @var = $be->HOSTTYPE; print "HOSTTYPE via name:n", join( "n", @var ), "ncount = ", scalar @var, "n"; if( $be->exists( BASH_VERSINFO ) ) { print "BASH_VERSINFO =>n ", join( "n ", $be->BASH_VERSINFO ), "n"; } my %options = $be->options( [], Keys => 1 ); Tie HASH interface: my %env = (); tie %env, "Env::Bash", Source => "/etc/sorcery/config", ForceArray => 1; my $var = $env{SORCERER_MIRRORS}; print "SORCERER_MIRRORS via tied hash:n", join( "n", @$var ), "ncount = ", scalar @$var, "n"; $var = $env{HOSTTYPE}; print "HOSTTYPE via tied hash:n", join( "n", @$var ), "ncount = ", scalar @$var, "n"; while( my( $key, $value ) = each %env ) { print "$key =>n ", join( "n ", @$value ), "n"; }.

Requirements: No special requirements
Platforms: Linux
Keyword: Env Envbash Hosttype Join Libraries Mirrors Print Programming Sorcerer Var Versinfo Via
Users rating: 0/10

License: Freeware Size: 14.34 KB
Programming  -  devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.
444.26 KB  
Business  -  Epson TM-P60 Bluetooth printing tool 1.0.1
Print to Epson TM-P60 via Bluetooth. This app allows you to use text, barcode and graphics printing features of the printer. Features -Print text. -Print many type of barcode. -Print image from camera roll. -Print directly from...
921.6 KB  
Business  -  QuickInvoicesFree 5.8
Quick Invoice creation in PDF format, you able to email out attachment, print it or view it via others PDF viewer. This free version will allow you to create the invoice with one item. Requirements: iOS 5.0 or later. Compatible with iPhone,...
2.4 MB  
Utilities  -  QuickQuotationFree 5.5
This will able to help business traveler on the move and need to create the sales quotation for your client instantly. Quick Quotation creation in PDF format, you able to email out attachment, print it or view it via others PDF viewer. This...
2.3 MB  
Utilities  -  QuickReceiptHDFree 2.0
Whenever you're on the road and need to create receipt for your client, this apps will able to help you. Quick Receipt created in PDF format, you are able to email out the attachment, print it or view it via others PDF viewer. The paid version...
819.2 KB  
Productivity  -  QuickReceiptsFree 2.5
Whenever you're on the road and need to create receipt for your client, this apps will able to help you. QuickReceiptsFree created output in PDF format, you are able to email out the attachment, print it or view it via others PDF viewer. The...
2.2 MB  
Libraries  -  Env::Path 0.18
Env::Path is a Perl module with advanced operations on path variables. SYNOPSIS use Env::Path; # basic usage my $manpath = Env::Path->MANPATH; $manpath->Append(/opt/samba/man); for ($manpath->List) { print $_, "n" }; # similar to above...
10.24 KB  
Libraries  -  Env::C 0.06
Env::C is a Get/Set/Unset Environment Variables on the C level. SYNOPSIS use Env::C; my $key = "USER"; $val = Env::C::getenv($key) || ; Env::C::setenv($key, "foobar", [$override]); $new_val = Env::C::getenv($key) || ;...
9.22 KB  
Libraries  -  Hey::heyPass 1.09
SYNOPSIS # To send a user to login: use Hey::heyPass; $heyPass = Hey::heyPass->new($yourSiteId, $yourSiteKey); $login = $heyPass->beginSession({ successUrl => "http://$ENV{HTTP_HOST}/loginSuccess.cgi?sessionId=%s", failureUrl =>...
3.07 KB  
Libraries  -  Time::Zone 1.16
Time::Zone is a miscellaneous timezone manipulations routines. SYNOPSIS use Time::Zone; print tz2zone(); print tz2zone($ENV{TZ}); print tz2zone($ENV{TZ}, time()); print tz2zone($ENV{TZ}, undef, $isdst); $offset = tz_local_offset();...
22.53 KB  
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, 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.13.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