Help for this page

Select Code to Download


  1. or download this
      use RPO ; ## Remote Perl Objects
    
    ...
      ## The remote value now should be 'xyzabc':
      print RPO::CLIENT->eval('return $scalar') ;
    
  2. or download this
      ## Set the value of a HASH remotely:
      RPO::CLIENT->eval('%hash = ( a=>1 , b=>2 , c=>{ d=>3.1 , e=>3.2 } )'
    +);
    ...
      ## store into 'e' in the returned HASH in 'c'.
      $hash{c}{e} = $scalar ;