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 hmerrill (Friar)
on Jan 08, 2004 at 13:46 UTC ( #319801=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      use Converter;
      my $document = new Converter;
    ...
      );
      my $convert_args_hashref = \%convert_args_hash;
      my $status = $document->convert($convert_args_hashref);
    
  2. or download this
      my $status = $document->convert(
        {
    ...
          'Output' => '[Out file]'
        }
      );
    
  3. or download this
       sub convert {
          my $args_hashref = shift;
          print "The MIME-Type parameter = $args_hashref->{'MIME-Type'}\n"
    +;
          ### blah blah ###
       } # end sub convert
    

Log In?
Username:
Password:

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

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

    When choosing user names for websites, I prefer to use:








    Results (211 votes), past polls