Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Passing a hash into a subroutine

by davido (Archbishop)
on Jan 08, 2004 at 09:06 UTC ( #319755=note: print w/ replies, xml ) Need Help??


in reply to Passing a hash into a subroutine

I'm not familiar with "Converter.pm". You probably need to pass the hash by reference. It could even be an anonymous hash, in which case, your syntax is very close. You just need the anonymous hash constructor:

my $status = $document->convert( { 'MIME-Type' => 'application/ms-word', 'Input' => '[In file]', 'Output' => '[Out file] } );


Dave


Comment on Re: Passing a hash into a subroutine
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://319755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-12-22 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (112 votes), past polls