in reply to Re: Frontier::Client and <struct>
in thread Frontier::Client and <struct>

Thank you, worked great:)

Any idea how to get the fields (hash) ordered? Looking in the source, I can't see how it can be possible :-/

Replies are listed 'Best First'.
Re^3: Frontier::Client and <struct>
by Anonymous Monk on Mar 23, 2011 at 12:03 UTC
    Try
    use Tie::IxHash; tie(%myhash, 'Tie::IxHash', test1 => "one", test2 => 'two' ); my $result = $server->call('MyCall', \%myhash );
Re^3: Frontier::Client and <struct>
by CountZero (Bishop) on Mar 23, 2011 at 17:16 UTC
    Mmm, interesting.

    And why would you need the fields to be ordered?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James