Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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!

Comment on Re: perl execution on Mandriva2006
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2015-11-27 09:03 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (722 votes), past polls