From owner-freebsd-questions@FreeBSD.ORG Thu Apr 23 06:33:11 2015 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CB39D58 for ; Thu, 23 Apr 2015 06:33:11 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F9FA1FDA for ; Thu, 23 Apr 2015 06:33:11 +0000 (UTC) Received: by paboj16 with SMTP id oj16so9907104pab.0 for ; Wed, 22 Apr 2015 23:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+0C+cV/AThUS1yWQlur8yncxQqVKU2dbY7/Dn6jDb2o=; b=uyBuLskZF7KKJcA6F01eMbWIdBtVOblgmsED2ZNM0h59kR9US5FWfZ6WzfTYLpFGC/ NO7WxxpI26HNgpMTS3uhljdc1Hqc2TAeHbj8Q5g7Nf1YafJLGJ9nLPkZjihigff4MLp6 DF3s3lMD14zjzvYqVbHRnHrWnlCB8MF2nIs/+Wv6K5bGybkK1YCeWd0crWgcPydlPYdR +ENHC+h06FcVk+yfO+5NwwmELdapb0pbGzwqUpo9ePSqpxWkZOMjSK+4/RL/ZtPoWCeP sMW0dCHNrqoCypJDaWP5NF0hLO3geOYpCVh2edUC9h3XyagzS/A8jgxTqsrPfRRfehCK 2kRw== X-Received: by 10.68.161.4 with SMTP id xo4mr2419271pbb.65.1429770790944; Wed, 22 Apr 2015 23:33:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.68.67 with HTTP; Wed, 22 Apr 2015 23:32:50 -0700 (PDT) In-Reply-To: <5538919D.8060507@netfence.it> References: <5538919D.8060507@netfence.it> From: Michael Schuster Date: Thu, 23 Apr 2015 08:32:50 +0200 Message-ID: Subject: Re: Bacula and perl 5.20 To: Andrea Venturoli Cc: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 06:33:11 -0000 Hi, you need to tell people (no, not me in private ;-), what "stop working" looks like in detail. A guess: is /usr/local/bin in your standard PATH (or rather, the path that the script sees)? HTH Michael On Thu, Apr 23, 2015 at 8:30 AM, Andrea Venturoli wrote: > Hello. > > Bacula has some PERL scripts which have the following header: > > #!/usr/bin/env perl > > They stop working when I substitute the deprecated perl-5.16 with > perl-5.20. > > Right now I just change that line with: > >> #!/usr/local/bin/perl >> > > However, as someone who doesn't know PERL and just undergo it, I'm curious. > Could someone explain why this stopped working? > > bye & Thanks > av. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Michael Schuster http://recursiveramblings.wordpress.com/