Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: perl execution on Mandriva2006

by Random_Walk (Prior)
on May 17, 2006 at 16:24 UTC ( #550045=note: print w/replies, xml ) Need Help??

in reply to perl execution on Mandriva2006

if you look at the #! line at the top of your perl script this will show you where the OS will go looking for the executable to run that script. /usr/bin/perl is the usual location in Mandriva. If you have a lot of scripts with another location, say /bin/perl you could make a link from there to your script or you can feed your scripts through a onle liner to change it, something like this would do all the ones in your current dir.

perl -pe 's|#!/bin/perl|#!/usr/bin/perl|' *.pl

On a seperate note does anyone know why Mandriva ship a perl without multithreading compiled in ? If I try perl -Mthreads -e1 I get an error informing me it is not compiled for multithread. Is there any sane reason for Mandriva to do this ?


Pereant, qui ante nos nostra dixerunt!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://550045]
[stevieb]: debugged my first very low-level C memory issue within a shared library with gdb so I did :D
[stevieb]: problem was in my code, but through the debugger I figured out what was actually happening, and why. Pretty straight forward after a few hours of reading and testing

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-06-25 18:25 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (568 votes). Check out past polls.