Edit D:\app\Administrator\product\11.2.0\dbhome_1\perl\html\lib\CPANPLUS\Backend\RV.html
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>../lib/CPANPLUS/Backend/RV.pm</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:" /> </head> <body style="background-color: white"> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr><td class="block" style="background-color: #cccccc" valign="middle"> <big><strong><span class="block"> ../lib/CPANPLUS/Backend/RV.pm</span></strong></big> </td></tr> </table> <!-- INDEX BEGIN --> <div name="index"> <p><a name="__index__"></a></p> <ul> <li><a href="#name">NAME</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#description">DESCRIPTION</a></li> <li><a href="#methods">METHODS</a></li> <ul> <li><a href="#new__ok____bool__args____data__rv____data___function_____method_name___">new( ok => BOOL, args => DATA, rv => DATA, [function => $method_name] )</a></li> </ul> <li><a href="#bug_reports">BUG REPORTS</a></li> <li><a href="#author">AUTHOR</a></li> <li><a href="#copyright">COPYRIGHT</a></li> </ul> <hr name="index" /> </div> <!-- INDEX END --> <p> </p> <hr /> <h1><a name="name">NAME</a></h1> <p>CPANPLUS::Backend::RV</p> <p> </p> <hr /> <h1><a name="synopsis">SYNOPSIS</a></h1> <pre> ### create a CPANPLUS::Backend::RV object $backend_rv = CPANPLUS::Backend::RV->new( ok => $boolean, args => $args, rv => $return_value function => $calling_function );</pre> <pre> ### if you have a CPANPLUS::Backend::RV object $passed_args = $backend_rv->args; # args passed to function $ok = $backend_rv->ok; # boolean indication overall # result of the call $function = $backend_rv->fucntion # name of the calling # function $rv = $backend_rv->rv # the actual return value # of the calling function</pre> <p> </p> <hr /> <h1><a name="description">DESCRIPTION</a></h1> <p>This module provides return value objects for multi-module calls to CPANPLUS::Backend. In boolean context, it returns the status of the overall result (ie, the same as the <a href="#ok"><code>ok</code></a> method would).</p> <p> </p> <hr /> <h1><a name="methods">METHODS</a></h1> <p> </p> <h2><a name="new__ok____bool__args____data__rv____data___function_____method_name___">new( ok => BOOL, args => DATA, rv => DATA, [function => $method_name] )</a></h2> <p>Creates a new CPANPLUS::Backend::RV object from the data provided. This method should only be called by CPANPLUS::Backend functions. The accessors may be used by users inspecting an RV object.</p> <p>All the argument names can be used as accessors later to retrieve the data.</p> <p>Arguments:</p> <dl> <dt><strong><a name="ok" class="item">ok</a></strong> <dd> <p>Boolean indicating overall success</p> </dd> </li> <dt><strong><a name="args" class="item">args</a></strong> <dd> <p>The arguments provided to the function that returned this rv object. Useful to inspect later to see what was actually passed to the function in case of an error.</p> </dd> </li> <dt><strong><a name="rv" class="item">rv</a></strong> <dd> <p>An arbitrary data structure that has the detailed return values of each of your multi-module calls.</p> </dd> </li> <dt><strong><a name="function" class="item">function</a></strong> <dd> <p>The name of the function that created this rv object. Can be explicitly passed. If not, <code>new()</code> will try to deduce the name from <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#caller"><code>caller()</code></a> information.</p> </dd> </li> </dl> <p> </p> <hr /> <h1><a name="bug_reports">BUG REPORTS</a></h1> <p>Please report bugs or other issues to <<a href="mailto:bug-cpanplus@rt.cpan.org<gt>">bug-cpanplus@rt.cpan.org<gt></a>.</p> <p> </p> <hr /> <h1><a name="author">AUTHOR</a></h1> <p>This module by Jos Boumans <<a href="mailto:kane@cpan.org">kane@cpan.org</a>>.</p> <p> </p> <hr /> <h1><a name="copyright">COPYRIGHT</a></h1> <p>The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <<a href="mailto:kane@cpan.org">kane@cpan.org</a>>. All rights reserved.</p> <p>This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.</p> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr><td class="block" style="background-color: #cccccc" valign="middle"> <big><strong><span class="block"> ../lib/CPANPLUS/Backend/RV.pm</span></strong></big> </td></tr> </table> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de