Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
use hash to name params, then stringify values in specific order
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="J. Gleixner, post: 4861902"] If you're actually using $strigified_API_call, if there's a ',' in any of your values, it won't work very well. Printing it like that is fine, to possibly see what you're sending, but to actually call 'my_API_call', pass the slice. print 'call it: my_API_call(', join(',', @parms{ @order } ), ')'; my_API_call( @parms{ @order } ); [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
use hash to name params, then stringify values in specific order
Top