Inline::SLang::Assoc 1.00
Sponsored Links
Inline::SLang::Assoc 1.00 Ranking & Summary
File size:
0.11 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
809
Date added:
2007-08-06
Publisher:
Smithsonian Astrophysical Observatory
Inline::SLang::Assoc 1.00 description
Inline::SLang::Assoc module contains support for associative arrays.
SYNOPSIS
use Inline SLang;
# you can send hash references to S-Lang
print_in_slang( { a => 23, "b b" => "foo" } );
# and get them back from S-Lang
$href = get_from_slang();
print "The assoc array contains:n" .
join( "", map { "t$_ => $$href{$_}n"; } keys %$href );
__END__
__SLang__
define print_in_slang (assoc) {
message( "SLang thinks you sent it an assoc. array with:" );
foreach ( assoc ) using ( "keys", "values" ) {
variable k, v;
( k, v ) = ();
vmessage( " key %s = %S", k, v );
}
}
define get_from_slang() {
variable x = Assoc_Type [String_Type];
x["a key"] = "a value";
x["another key"] = "another value";
return x;
}
The output of this code - which can be found in the source-code distribution as examples/assoc.pl - is:
SLang thinks you sent it an assoc. array with:
key a = 23
key b b = foo
The assoc array contains:
another key => another value
a key => a value
SYNOPSIS
use Inline SLang;
# you can send hash references to S-Lang
print_in_slang( { a => 23, "b b" => "foo" } );
# and get them back from S-Lang
$href = get_from_slang();
print "The assoc array contains:n" .
join( "", map { "t$_ => $$href{$_}n"; } keys %$href );
__END__
__SLang__
define print_in_slang (assoc) {
message( "SLang thinks you sent it an assoc. array with:" );
foreach ( assoc ) using ( "keys", "values" ) {
variable k, v;
( k, v ) = ();
vmessage( " key %s = %S", k, v );
}
}
define get_from_slang() {
variable x = Assoc_Type [String_Type];
x["a key"] = "a value";
x["another key"] = "another value";
return x;
}
The output of this code - which can be found in the source-code distribution as examples/assoc.pl - is:
SLang thinks you sent it an assoc. array with:
key a = 23
key b b = foo
The assoc array contains:
another key => another value
a key => a value
Inline::SLang::Assoc 1.00 Screenshot
Inline::SLang::Assoc 1.00 Keywords
SLang
Assoc 1.00
Associative arrays
assoc
key
module
support
value
X
Inline::SLang::Assoc
InlineSLangAssoc
Inline::SLang::Assoc 1.00
Libraries
Programming
Bookmark Inline::SLang::Assoc 1.00
Inline::SLang::Assoc 1.00 Copyright
WareSeeker periodically updates pricing and software information of Inline::SLang::Assoc 1.00 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Inline::SLang::Assoc 1.00 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
slang dictionary with your definitions
british slang
slang language
slang dictionary
slang expressions
slang terms
association
wedding songs
slanger
javascript associative arrays
slang translator
spanish slang
american heart association
slang words
association of professional chaplains
associative arrays actionscript
office slang
aussie slang
Related Software
Inline::SLang::Changes is a Perl module with changes to previous versions of the module. Free Download
Inline::Java lets you write Perl classes in Java and wrap/use existing Java classes. Free Download
Inline::C is a Perl module that can Write Perl Subroutines in C. Free Download
Inline-Support is a Perl module created to support information for Inline.pm and related modules. Free Download
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. Free Download
slang is a powerful interpreted language. Free Download
Config::Fast is an extremely fast configuration file parser. Free Download
Linux Layer7 Switchings main goal is to provide a performant framework for Layer7 switching. Free Download
Latest Software
Popular Software
Favourite Software