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

Re: xs modifying passed value

by Festus Hagen (Novice)
on Nov 18, 2012 at 14:32 UTC ( #1004420=note: print w/ replies, xml ) Need Help??


in reply to xs modifying passed value

Thanks for the thoughts, ideas and suggestions...

The C++ lib is what it is for it's purpose and the reasons are beyond Perl ... The goal is to fit Perl to it, not it to Perl!

If it was absolutely impossible (or a horrendous mess to do so), then a lib change could/would be made unless (highly unlikely) it adversely affected the Lib's purpose.

However, I do not believe in "impossible"! ... If there is a will, there is a way!

So with the lack of suggestions on the latest xs code I'll assume it's good to go and stick a fork in it, call it done!

Thanks to all

-Enjoy
fh : )_~


Comment on Re: xs modifying passed value
Re^2: xs modifying passed value
by bulk88 (Priest) on Nov 18, 2012 at 22:50 UTC
    I thought of something. For
    croak("Usage: MyLib->strToInt(...)");
    do
    croak("Usage: MyLib->strToInt([passfail])");
    square brackets mean optional arg. "..." means 0 to infinity additional args which is not your case. Some people refuse to RTFM and demand that the usage croaks be the only thing they need to look at to call the func/sub/meth.
      Ok, I'm laughing!

      Not at you ... About your description of ME!
      "Some people refuse to RTFM and demand that the usage croaks be the only thing they need to look at to call the func/sub/meth."

      That's me!

      Also over the Anal Perfectionism.

      That would also be me!

      Thanks

      -Enjoy
      fh : )_~

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2014-07-30 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls