Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: perl execution on Mandriva2006

by Random_Walk (Parson)
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 ?

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-12-22 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (116 votes), past polls