Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Forks.pm dilemma

by BrowserUk (Pope)
on Aug 07, 2003 at 17:07 UTC ( #281969=note: print w/replies, xml ) Need Help??


in reply to Forks.pm dilemma

I'll admit to not having thought this through very far, and I know naff all about XS, but...

Couldn't you declare the share routine as a perl sub conditionally upon the basis of version. > 5.7 use the new prototype, < 5.7 omit the prototype and test&cast the parameter using ref then call the XS code that does the real work?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
If I understand your problem, I can solve it! Of course, the same can be said for you.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://281969]
help
Chatterbox?
[beech]: of course the magic word that explains everything :p
[erix]: they should lean to gnash their teeth a bit instead of writing more ^Re:NN-nodes :)
[erix]: *learn
[erix]: comic relief: how to start a riot and a fortune at the same time
[beech]: :) thats too generous to jdporter, don't start none won't be none -- there is about two decades (rounding up) worth of "ineffective" node titles -- leave the pope alone :p

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-01-17 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (159 votes). Check out past polls.