Main > Programming > Libraries >

PBS::SubpbsResult 0.43.290

PBS::SubpbsResult 0.43.290

Sponsored Links

PBS::SubpbsResult 0.43.290 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.55 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 827
Date added: 2007-07-19
Publisher: Khemir Nadim

PBS::SubpbsResult 0.43.290 description

PBS::SubpbsResult module contains support for hierarchical projects.

SYNOPSIS

use PBS::SubpbsResult ;

my $subpbs_result = new PBS::SubpbsResult($file_name) ;
my @search_paths = @{ $subpbs_result->GetLibrarySearchPaths()} ;

Pbs strives to let you build hierarchical projects, this module simplifies the task of returning sub module information to the module parent. This module is amainly used in Builders.

This module lets you create files which hold the information. Below are two examples.

linker information

Say you have module A which has a link dependency on module B. Module B needs to be linked with and extra library. A and B are build in different project (a subpbs for B exists).

When linking your project, you need to know at the top level what B needs to be linked with. To avoid putting knowledge of Bs dependencies in the build of A, we would like the link information to be returned in a generic way to A.

Module B build result, when invoked from As build is a .subpbs_result file.

# make A depend on Bs build result

AddRule module B, [A.o => some_A_file.o, B.subpbs_result], &Build_A ;

# Build B in a subpbs

AddSubpbRule(B.subpbs_result, somepbs_file.pl)

sub Build_A
{
use PBS::SubpbsResult ;
...

my @objects_to_link ;
my @libs ;
my @other_specific_information ;
my $very_special_information ;

for my $dependency (@dependencies)
{
if($dependency =~ /.subpbs_result/)
{
my $subpbs_result = new PBS::SubpbsResult($dependency) ;

push @objects_to_link, GetObjects($subpbs_result) ;
push @libs, GetLibraries($subpbs_result) ;

push @other_specific_information = GetOtherSpecificInformation($subpbs_result) ;
$very_special_information = GetVerySpecialInformation($subpbs_result)[0] ;
}
}
...
}

# in somepbs_file.pl

my @libraries = (some_lib, some_other_lib) ;
my @other_specific_information = (specific1, specific2) ;
my $very_special_information = 1 ;

AddRule B.subpbs_result, [B.subpbs_result => b1.o, b2.o, C.subpbs_result], &BuildSubpbsResult ;

sub BuildSubpbsResult
{
...

use PBS::SubpbsResult ;
my $subpbs_result = new PBS::SubpbsResult() ;

for my $dependency (@dependencies)
{
if($dependency =~ /.subpbs_result$/)
{
$subpbs_result->Append($dependency) ;
}
else
{
$subpbs_result->AddObjects({NAME =>$dependency, MD5 => $md5}) ;
}
}

$subpbs_result->AddLibraries(@libraries) ;
$subpbs_result->AddWithMd5(other_specific_information, @other_specific_information) ;
$subpbs_result->Add(very_special_information, $very_special_information) ;

$subpbs_result->Write($dependent) ;
}

PBS::SubpbsResult 0.43.290 Screenshot

Advertisements

PBS::SubpbsResult 0.43.290 Keywords

Bookmark PBS::SubpbsResult 0.43.290

Hyperlink code:
Link for forum:

PBS::SubpbsResult 0.43.290 Copyright

WareSeeker periodically updates pricing and software information of PBS::SubpbsResult 0.43.290 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 PBS::SubpbsResult 0.43.290 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
PBS::Graph::Html is a helper module to PBS::Graph. Free Download
PBS::Debug is a Perl module with debugger support for PBS. Free Download
PBS is a user-support call management system and call tracing system. Free Download
Spreadsheet::ParseExcel is a Perl module to get information from an Excel file. Free Download
Inline-Support is a Perl module created to support information for Inline.pm and related modules. Free Download
B::TerseSize is a Perl module that prints information about ops and their (estimated) size. Free Download
Paper::Specs is a Perl module with size and layout information for paper stock, forms, and labels. Free Download
WWW::Google::Images::SearchResult is a Perl module that can search result object for WWW::Google::Images. Free Download