SPUG: Does readpipe fail to parse arguments?

ced at carios2.ca.boeing.com ced at carios2.ca.boeing.com
Tue Jul 25 14:14:24 CDT 2000


> #This works great:
>         system "$document_root/cgi-bin/print_state_option.pl",$edit_fields{state};

#This fails to pass the arguments:
>        $fields{'print_state_popup'} = 
>                readpipe "$document_root/cgi-bin/print_state_option.pl",$fields{state};
>        #the code doesn't crash, it just never sees the arguments

You're passing different args in the two cases:  

   $edit_fields{state} vs. $fields{state}  

Was this just a typo... ?

--
Charles DeRykus

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For full traffic, use spug-list for LIST ; otherwise use spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list