NAME

PBS::Prf - Support functions for pure perl prf files

DESCRIPTION

Prf file contain the definition of command line switches and target. PBS 0.36 introduces pure perl prfs. All perl functionality is accessible in the prfs but only a limited subset of PBS functionality is available.

  AddTargets('1', '2') ;
  
  #~ AddCommandLineSwitches('-unknown_switch') ; # will generate an error and stop
  AddCommandLineSwitches('-sd /') ;
  AddCommandLineSwitches('-ndpb') ;
  
  AddCommandLineSwitches
  	(
  	  '-dc'
  	, '-dsd'
	, '-ppp /devel/perl_modules/PerlBuildSystem/Plugins'
  	) ;
  
  AddCommandLineDefinitions(DEBUG => 1) ;
  AddCommandLineDefinitions(SOMETHING => 'a string with spaces') ;
  
  AddCommandLineDefinitions
  	(
  	  DEBUG2 => 1
  	, SOMETHING2 => 'a string with spaces again'
  	) ;

AUTHOR

Khemir Nadim ibn Hamouda. nadim@khemir.net