Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use a .lib file in perl?

Status
Not open for further replies.

simoryl

Programmer
Mar 23, 2005
5
0
0
Hi everybody !

As i said in the subject, i need to use .lib's functions with perl.
Sadly, i don't find a sample of code with Google or an explanation ("perl" and "lib" are 2 common words).
I think we can do it and i find some code with this part :
LIBS = oldname.lib
But no explanation and the code is too much harder.
For information, i'm on Fedora, not Window$
Thanks for your help
Simo'
 
What are in the .lib files? Perl code? Something binary? Java? what?

if the .lib contains Perl code and was only named ".lib" so instead of ".pl" to stop people from trying to execute the file as a standalone script, then you should just be able to "require" the file as if it was a .pl

If the .lib isn't Perl code, then tell us what's in it or what other programs use it and then we'll be able to help you more, but at this point it's just a blind shot in the dark.

-------------
Cuvou.com | My personal homepage
Code:
perl -e '$|=$i=1;print" oo\n<|>\n_|_";x:sleep$|;print"\b",$i++%2?"/":"_";goto x;'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top