SPUG: Does readpipe fail to parse arguments?

Joe Devlin jdevlin at stadiumdistrict.com
Tue Jul 25 01:35:48 CDT 2000


No matter what I have tried, I cannot get readpipe to read an argument.
I did a search on deja.com and found a couple of references to patches 
in the perl.porters-gw forum to 'fix' something like this problem with Perl version 5.00557.
The version running at this site is 5.00503.

Anyone have experience with this problem? Do you recommend the upgrade?

#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


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     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