Re: /bin/perl vs. /usr/bin/perl
Martin Read zen75...@zen.co.uk writes: On 01/11/14 14:52, lee wrote: what's the proposed Debian way to deal with a different location of the 'perl' executable? #! /usr/bin/env perl Fedora has /bin/perl, Debian has /usr/bin/perl. Since I still have Fedora on the desktop and Debian on the VMs, I need compatibility. ... but I thought that on Fedora, /bin was turned into a symlink to /usr/bin in F17, so unless you've got some pre-F17 Fedora systems to care about, /usr/bin/perl should be fine on Fedora. Thanks, it works fine this way --- just not the other way round. -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87a94727li@gulltop.yagibdah.de
Re: /bin/perl vs. /usr/bin/perl
#! /usr/bin/env perl use warnings; 2014-11-01 17:58 GMT+01:00 Jonathan Dowland j...@debian.org: On 1 Nov 2014 15:30, Martin Read zen75...@zen.co.uk wrote: On 01/11/14 14:52, lee wrote: what's the proposed Debian way to deal with a different location of the 'perl' executable? #! /usr/bin/env perl The trouble with this is perl -w doesn't work. ... but I thought that on Fedora, /bin was turned into a symlink to /usr/bin in F17, so unless you've got some pre-F17 Fedora systems to care about, /usr/bin/perl should be fine on Fedora. I think you're right, /usr/bin/perl should work just about everywhere. -- esta es mi vida e me la vivo hasta que dios quiera -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAE7pJ3BqYO6NAOkdGZtHSMUA5=dyxxa8v3ru2na3v+ax-w8...@mail.gmail.com
/bin/perl vs. /usr/bin/perl
Hi, what's the proposed Debian way to deal with a different location of the 'perl' executable? Fedora has /bin/perl, Debian has /usr/bin/perl. Since I still have Fedora on the desktop and Debian on the VMs, I need compatibility. -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87d2973rcv@gulltop.yagibdah.de
Re: /bin/perl vs. /usr/bin/perl
On 01/11/14 14:52, lee wrote: what's the proposed Debian way to deal with a different location of the 'perl' executable? #! /usr/bin/env perl Fedora has /bin/perl, Debian has /usr/bin/perl. Since I still have Fedora on the desktop and Debian on the VMs, I need compatibility. ... but I thought that on Fedora, /bin was turned into a symlink to /usr/bin in F17, so unless you've got some pre-F17 Fedora systems to care about, /usr/bin/perl should be fine on Fedora. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5454fc84.2040...@zen.co.uk
Re: /bin/perl vs. /usr/bin/perl
On 1 Nov 2014 15:30, Martin Read zen75...@zen.co.uk wrote: On 01/11/14 14:52, lee wrote: what's the proposed Debian way to deal with a different location of the 'perl' executable? #! /usr/bin/env perl The trouble with this is perl -w doesn't work. ... but I thought that on Fedora, /bin was turned into a symlink to /usr/bin in F17, so unless you've got some pre-F17 Fedora systems to care about, /usr/bin/perl should be fine on Fedora. I think you're right, /usr/bin/perl should work just about everywhere.