Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-03-18 00:47 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (228 votes). Check out past polls.