Hi,
>
> Try to change the version of my Perl but not change.
What do you do to change the version of Perl? What command? On what system?
> I have Perl v5.36.1, I tried to change Perl to Perl v5.10.0 but I didn't get
> the
> desired effect.
>
> I have the following error:
>
> A sub-shell is
Try to change the version of my Perl but not change.
I have Perl v5.36.1, I tried to change Perl to Perl v5.10.0 but I didn't
get the desired effect.
I have the following error:
A sub-shell is launched with perl-5.10.0 as the activated perl. Run 'exit'
> to finish it.
>
--
With kindest
an set to add libraries (maybe in the webserver config).
I've read about those, but I'd rather not jerry rig this install just
to get it to work. I've been using perlbrew on my Mac (with 5 different perls)
for years without incident, so that's why I'm at a loss as to what's happening
on
ly include the .cpanm directory, it
returns:
/home/user/cgi-bin/test.pl syntax OK
meaning, you added:
use lib q{/home/user/.cpanm/};
> otherwise, it returns:
Can't locate CGI/Carp.pm in @INC (you may need to install the CGI::Carp
module) (@INC contains: /home/user/perl5/perlbrew/
perls/perl-5.26.1
ll the CGI::Carp module)
(@INC contains:
/home/user/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/x86_64-linux
/home/user/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1
/home/user/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/x86_64-linux
/home/user/perl5/perlbrew/perls/perl-5.26.1
this worked as it should, with
> 'fatalsToBrowser' showing any errors.
Can you not look a the web server's error_log? A 500 error would put the
perl error msg in there. Have you tried just "use" a different module?
Hmm, can you try
#!/home/user/perl5/perlbrew/perls/latest/bin/perl
use v5.26;
panm was installed
properly under perlbrew?
Frank
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
nstall Module::Name" do that
on it's own? There's only one perl install and one alias, and the alias is
selected. Running "perl -v" returns version 5.26.1 so how can I get perlbrew
set to install in the current installation?
Frank
--
To unsubscribe, e-mail: beginners-unsubscr...@pe
On Thu, 7 Dec 2017 12:44:51 -0800
SSC_perl <p...@surfshopcart.com> wrote:
> > On Dec 7, 2017, at 12:04 PM, Shlomi Fish <shlo...@shlomifish.org> wrote:
> >
> > What does:
> >
> > say "@INC";
> >
> > say if you add it to the
> On Dec 7, 2017, at 12:04 PM, Shlomi Fish <shlo...@shlomifish.org> wrote:
>
> What does:
>
> say "@INC";
>
> say if you add it to the script?
I get:
/home/user/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/x86_64-linux
/home/user
this hard.
>
> I'd appreciate any help.
>
> Thanks,
> Frank
>
>
>
>
> #!/home/user/perl5/perlbrew/perls/latest/bin/perl
>
> use v5.26;
> use warnings;
> use diagnostics;
>
> print "Conten
his VPS setup for almost 2 weeks now just to
get a functioning modern Perl environment and I'm about at my wits end. It
shouldn't be this hard.
I'd appreciate any help.
Thanks,
Frank
#!/home/user/perl5/perlbrew/perls/latest/bin/perl
use v5.26;
use warnings;
use diagnostics;
print
0 23 * * * /path/to/perlbrew exec --with perl-5.20.0 perl /path/to/app.pl
On Thu, Dec 7, 2017 at 10:38 AM, SSC_perl <p...@surfshopcart.com> wrote:
> After moving to a VPS, I'm finally able to use perlbrew to use the
> latest perl, but it's not working the same as it do
You have to make sure that the cron job has the right path. Usually it can
be as easy as calling a wrapper script that sets up the correct environment.
On Thu, Dec 7, 2017 at 1:38 PM, SSC_perl <p...@surfshopcart.com> wrote:
> After moving to a VPS, I'm finally able to use
After moving to a VPS, I'm finally able to use perlbrew to use the
latest perl, but it's not working the same as it does on my Mac.
In terminal, I can call a perl script with either the full path to perl
or with an alias I've set up in .bashrc. So far, so good. However, to run
> On Dec 5, 2017, at 10:23 AM, Chas. Owens wrote:
>
> Test one: does the file actually exist.
Thanks for the tests. It turns out there was a typo in the shebang
line. It was a tough one to diagnose as the error said the file wasn't there.
Frank
--
To
I'm hoping someone has seen this before and can point me in the
> right direction. I'm moving my site to a VPS to be able to use a more
> modern version of Perl, but I've run into a problem.
>
> I installed perlbrew along with Perl 5.26.1. That went smoothly.
> However
I'm hoping someone has seen this before and can point me in the right
direction. I'm moving my site to a VPS to be able to use a more modern version
of Perl, but I've run into a problem.
I installed perlbrew along with Perl 5.26.1. That went smoothly.
However, when I try
Hi,
I am having a trouble installing any module with cpanm in perlbrew perl-5.20.0
in an test1 local lib. Below I am pasting the verbose. Please help me to solve
this issue.subinoybiswas@sunymacs:~/work_ubc/seq$ which perl
/Users/subinoybiswas/perl5/perlbrew/perls/perl-5.20.0/bin/perl
On Sun, Jun 15, 2014 at 10:31 AM, Subinoy Biswas suny@gmail.com wrote:
Hi,
I am having a trouble installing any module with cpanm in perlbrew
perl-5.20.0 in an test1 local lib. Below I am pasting the verbose. Please
help me to solve this issue
So, you need to install Tie::Hash::Indexed
Hi,
OS CentOS 6.3
perl=/home/dermot/perl5/perlbrew/perls/perl-5.16.0/bin/perl,
%ENV:
PERLBREW_BASHRC_VERSION=0.64
PERLBREW_HOME=/home/dpaikkos/.perlbrew
PERLBREW_MANPATH=/home/dpaikkos/perl5/perlbrew/perls/perl-5.16.0/man
PERLBREW_PATH=/home/dpaikkos/perl5/perlbrew/bin:/home
...@gmail.com]
Sent: Thursday, June 20, 2013 7:53 AM
To: Perl Beginners
Subject: Perlbrew and Apache2::Request
Hi,
OS CentOS 6.3
perl=/home/dermot/perl5/perlbrew/perls/perl-5.16.0/bin/perl,
%ENV:
PERLBREW_BASHRC_VERSION=0.64
PERLBREW_HOME=/home/dpaikkos/.perlbrew
I installed perlbrew then I used it to install v5.16.3. That installed to
my home directory. I read about installing to /opt. Do I just substitute
/usr/share/perl where I presently have v5.14.2 for /oopt? Will that also
install to all the other required places? Will it install the perl
executable
On Apr 13, 2013, at 10:11 AM, Sherman Willden wrote:
I installed perlbrew then I used it to install v5.16.3. That installed to
my home directory. I read about installing to /opt. Do I just substitute
/usr/share/perl where I presently have v5.14.2 for /oopt? Will that also
install to all
. The new
version seems to have fixed the problem. :)
Thanks again for everyone's help.
There's a new version of iTerm as well - I assumed you were referring to a
newer version of perlbrew - and also just check in preferences - profiles -
general that you've selected the Login Shell box so
Angela Barone:
On Tue, Mar 19, 2013 at 11:42:56AM -0700, Angela Barone wrote:
I tried that, but it didn't work. It turns out that when I
used OS X's Terminal, everything installed smoothly. But if I
tried iTerm, then I got the -bash: perlbrew: command not
found error. This makes no sense
On Wed, Mar 20, 2013 at 10:22:04AM -0400, Brandon McCaig wrote:
Is it possible that it's not running bash, and
therefore your .bash_profile is not being sourced, and therefore
the Perlbrew environment is not being set up?
Nevermind...
On Tue, Mar 19, 2013 at 11:42:56AM -0700, Angela Barone
Thank you to everyone who replied off-list. It turns out that version
0.60 had a problem which manifested itself in strange ways. As we were trying
to figure out what was going on, version 0.61 was released. The new version
seems to have fixed the problem. :)
Thanks again
I'm hoping someone can help me. I upgraded perlbrew by re-installing
it via the curl method and now I can't use it anymore. I'm getting the error
-bash: perlbrew: command not found.
Here's what the installation report showed:
## Installing perlbrew
On Mar 19, 2013, at 10:37 AM, Angela Barone wrote:
I'm hoping someone can help me. I upgraded perlbrew by re-installing
it via the curl method and now I can't use it anymore. I'm getting the error
-bash: perlbrew: command not found.
Here's what the installation report
On Mar 19, 2013, at 10:48 AM, Jim Gibson wrote:
Try changing that line to:
source /Users/mbo/perl5/perlbrew/etc/bashrc
or just go back to what you had before:
source ~/perl5/perlbrew/etc/bashrc
I tried that, but it didn't work. It turns out that when I used OS X's
Terminal
I am using Microsoft Windows XP 2002. I was in Git version 1.7.10. I
don't remember seeing an option to install any missing modules...at least
for the Perlbrew. Where would I find that?
Thanks!!
KJ
(Sorry, I should have replied all)
On Sun, Jun 17, 2012 at 12:42 AM, Andy Bach afb...@gmail.com
Hello,
I don't know if I should ask this here. I'm having trouble installing
Perlbrew. I am getting the error message: can't locate Pod/Usage.pm
in @INC (@INC contains: CODE(0xa031ea8) /usr/lib/perl5/5.8.8/msys /usr/
lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/
site_perl
ask this here. I'm having trouble installing
Perlbrew. I am getting the error message: can't locate Pod/Usage.pm
in @INC (@INC contains: CODE(0xa031ea8) /usr/lib/perl5/5.8.8/msys /usr/
lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/
site_perl/5.8.8 /usr/lib/perl5/site_perl
From: Chris Nehren c.nehren/beginn...@shadowcat.co.uk
Subject: Re: Using perlbrew to change Perl version for scripts
On Sat, Jun 02, 2012 at 12:57:22 -0400 , Shawn H Corey wrote:
On 12-06-02 12:23 PM, sono...@fannullone.us wrote:
Is it possible to use a shebang line, like #!/usr/bin/env perl
On 12-06-03 03:01 AM, Octavian Rasnita wrote:
So for running cron jobs with a version of Perl installed by Perlbrew, I
just needed to add the following lines at the start of cron script:
PERL5LIB=/home/teddy/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2:/home/teddy/perl5/perlbrew/perls
From: Shawn H Corey shawnhco...@gmail.com
Subject: Re: Using perlbrew to change Perl version for scripts
On 12-06-03 03:01 AM, Octavian Rasnita wrote:
So for running cron jobs with a version of Perl installed by Perlbrew, I
just needed to add the following lines at the start of cron script
On Jun 3, 2012, at 6:06 AM, Octavian Rasnita wrote:
but a user has only a single cron job so it is not such a big issue.
And therein lies the rub. Why can't perlbrew do that for us
automatically? perlbrew switch XXX... and you're done!
Your solution makes sense if you only
On Sun, Jun 03, 2012 at 10:53:08AM -0700, sono...@fannullone.us wrote:
On Jun 3, 2012, at 6:06 AM, Octavian Rasnita wrote:
but a user has only a single cron job so it is not such a big issue.
And therein lies the rub. Why can't perlbrew do that for us
automatically? perlbrew
it for the command line - why not for the shebang line?
doesn't make a lot of sense to me.
All I'm after is the ability to use a shebang line that will always
point to the currently selected version of Perl that I've chosen by the
perlbrew switch command. If I use #!/usr/bin/env perl, my
I get what Marc is wanting, and I see the convenience of it.
Perlbrew allows you to install different versions of perl so you can test your
code with them. I'd be handy to be able to test a batch of scripts without
having to change the shebang line in each one.
I'm thinking that'd require
On 12-06-03 04:17 PM, Bill Stephenson wrote:
I'm thinking that'd require something like a dispatcher that sits between your
scripts and the perls you want to use.
It does. That's why it only works from a terminal. The dispatcher is
place in your .profile. Scripts started outside a terminal
From: sono...@fannullone.us
Subject: Re: Using perlbrew to change Perl version for scripts
On Jun 3, 2012, at 6:06 AM, Octavian Rasnita wrote:
but a user has only a single cron job so it is not such a big issue.
And therein lies the rub. Why can't perlbrew do that for us automatically
On 12-06-03 06:00 PM, Octavian Rasnita wrote:
The cron jobs don't use the system Perl, but they use the first Perl
found in PATH.
If those cron jobs won't find any Perl in PATH, they won't run at all.
And you, or Perlbrew or somebody else should set a default PATH for the
shell which is used
Is it possible to use a shebang line, like #!/usr/bin/env perl, so that
scripts will use the currently selected version of Perl with perlbrew?
According to the help, it appears that perlbrew only changes the version for
the CLI:
COMMAND: SWITCH
Usage: perlbrew switch [ name
On 12-06-02 12:23 PM, sono...@fannullone.us wrote:
Is it possible to use a shebang line, like #!/usr/bin/env perl, so that
scripts will use the currently selected version of Perl with perlbrew?
According to the help, it appears that perlbrew only changes the version for
the CLI
On Sat, Jun 02, 2012 at 12:57:22 -0400 , Shawn H Corey wrote:
On 12-06-02 12:23 PM, sono...@fannullone.us wrote:
Is it possible to use a shebang line, like #!/usr/bin/env perl, so
that scripts will use the currently selected version of Perl with
perlbrew? According to the help
Shawn,
I don't know anything inside perlbrew that will help, but you could do this:
Apparently this is a know issue with perlbrew. I just found this page:
https://github.com/gugod/App-perlbrew/issues/70
sudo ln -s /Users/marc/perl5/perlbrew/perls/perl-5.16.0/bin/perl
/usr/local
On 12-06-02 02:41 PM, Chris Nehren wrote:
And the disadvantage of clobbering whatever's in /usr/local/bin/perl,
defeating the point of perlbrew in the first place.
Don't do that.
Yes, the `#!/usr/bin/env perl` shebang should do. I've used it with
perlbrew myself.
On my machine, perl
Chris,
Yes, the `#!/usr/bin/env perl` shebang should do. I've used it with perlbrew
myself.
How are you getting that to work? When I try it, it uses the version
of Perl located at /usr/bin/perl, not the version that's selected with perlbrew.
Marc
--
To unsubscribe, e-mail
On 12-06-02 02:54 PM, sono...@fannullone.us wrote:
Chris,
Yes, the `#!/usr/bin/env perl` shebang should do. I've used it with perlbrew
myself.
How are you getting that to work? When I try it, it uses the version
of Perl located at /usr/bin/perl, not the version that's selected
Maybe I don't understand what you mean, but I'm using perlbrew on my Mac and
running CGI scripts with it.
Kindest Regards,
Bill Stephenson
On Jun 2, 2012, at 1:53 PM, Shawn H Corey wrote:
On my machine, perl is at /usr/bin/perl so it doesn't get clobbered. (And `ln
-s ...` won't clobber
Okay, I get it... Sorry...
Kindest Regards,
Bill Stephenson
On Jun 2, 2012, at 2:01 PM, Shawn H Corey wrote:
#!/usr/bin/env perl`
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On Sat, Jun 02, 2012 at 15:01:21 -0400 , Shawn H Corey wrote:
On 12-06-02 02:54 PM, sono...@fannullone.us wrote:
Chris,
Yes, the `#!/usr/bin/env perl` shebang should do. I've used it with
perlbrew myself.
How are you getting that to work? When I try it, it uses the
version
BBEdit would work too. Just use the Find and Replace feature and tell it what
directory to use. It will change that line in every file in there.
If the OP isn't using a Mac I'm sure there are other tools that do the same
thing (I'm also pretty sure they're using a Mac)
It's not the answer
On 12-06-02 03:11 PM, Chris Nehren wrote:
On Sat, Jun 02, 2012 at 15:01:21 -0400 , Shawn H Corey wrote:
On 12-06-02 02:54 PM, sono...@fannullone.us wrote:
Chris,
Yes, the `#!/usr/bin/env perl` shebang should do. I've used it with perlbrew
myself.
How are you getting that to work
Does anyone know how to update Perlbrew to the latest version? I've
searched their site but I haven't found updating instructions (could be my
Google fu if off today =:\ ). Are you supposed to just overwrite the previous
version instead of updating?
Thanks,
Marc
--
To unsubscribe, e
On Thu, May 03, 2012 at 01:09:04PM -0700, sono...@fannullone.us wrote:
Does anyone know how to update Perlbrew to the latest version? I've
searched their site but I haven't found updating instructions (could
be my Google fu if off today =:\ ). Are you supposed to just
If you run perlbrew
On May 3, 2012, at 1:39 PM, Paul Johnson wrote:
If you run perlbrew or perlbrew help you'll see the main commands.
The one you want is perlbrew self-upgrade. Just run that and it'll do
the rest.
Thanks a million, Paul. That did it. It took about 2 seconds to
upgrade - it's
59 matches
Mail list logo