Results 1 to 1 of 1

Thread: Perl6 on Bluehost / use v6;

  1. #1
    Join Date
    Apr 2010

    Default Perl6 on Bluehost / use v6;

    Since Perl v6 is kinda like jQuery for the server side i was interested in researching & developing my next web-app based on it.

    So after...
    1. installing "Bundle::Perl6" from cPanel Perl-Modules
    2. including this code in
      PHP Code:

      BEGIN {
      my $homedir = ( getpwuid($>) )[7];
      my @user_include;
      my $path (@INC) {
              if ( -
      d $homedir '/perl' $path ) {
      push @user_include$homedir '/perl' $path;
      unshift @INC, @user_include;


      "hello, world".say
    3. and executing
      perl ~/perl/ said (in console):

    Can't locate in @INC (@INC contains:
    /usr/lib/perl5/5.8.8 .)
    at /home2/_username_/perl/ line 3.
    BEGIN failed--compilation aborted at /home2/_username_/perl/ line 3.
    (it would be just another 500-error on web)

    Now, my question is probably obvious, but how do i make it work?
    Last edited by sohin; 04-22-2010 at 03:37 AM. Reason: line number was wrong

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts