Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
167 user(s) are online (124 user(s) are browsing Forums)

Members: 1
Guests: 166

orgin, more...

Headlines

 
  Register To Post  

Newer version of Perl than 5.8.5 for AmigaOS4.1?
Just popping in
Just popping in


See User information
I was wondering if anyone knew of a newer version of Perl than the 5.8.5 version which comes with the AmigaOS4 SDK? At least 5.10 would be good to get my hands on.

Go to top
Re: Newer version of Perl than 5.8.5 for AmigaOS4.1?
Just popping in
Just popping in


See User information
Will be after this too when I have a os4 system up and running... 5.12 would be great....

Lawrence

Go to top
Re: Newer version of Perl than 5.8.5 for AmigaOS4.1?
Home away from home
Home away from home


See User information
I'm not likely to update the port anytimesoon as it works well for most needs, and there technical isues that need solving for an ideal port. (this one isn;t)

What do you need?

If you need help porting a spsecific module to the amiga version let me know and I'll assist.




Go to top
Re: Newer version of Perl than 5.8.5 for AmigaOS4.1?
Just popping in
Just popping in


See User information
Hi,

The main thing was the language features really.

$c = $a // $b;

say "hello";

state $i = 1;

Finally perl got a decent "switch" statement.

Smart match (~~)

But the main thing is that I'm used to using 5.12/5.10 in my day to day job. :)

Anyway, it's no biggy at all. Thanks for getting 5.8 done! :)

Lawrence

Go to top
Re: Newer version of Perl than 5.8.5 for AmigaOS4.1?
Just popping in
Just popping in


See User information
I have really just been playing around with perl on the Amiga so haven't touhed many modules. I got inspired to do a bit of Perl on the Amiga since I am in the middle of doing a few things in it at work.

I just noticed things like state are missing since that is a 5.10 function. Another thing I have come across is that @ARGV doesn't seem to receive any arguments I pass on the command line. The array is just empty. This could be PEBKAC in my case though :P

Go to top
Re: Newer version of Perl than 5.8.5 for AmigaOS4.1?
Home away from home
Home away from home


See User information
I can't help with language contructs (withot a new port which won't happen tomorrow ...)

as to @ARGV

it depends how you launch the program

6.RAM Disk:> perl testargv.pl foo bar
foo
bar
6.RAM Disk:> testargv.pl foo bar

6.RAM Disk:>

it's limitation of the #! support in amigados

however if you use abc-shell

6.RAM Disk:> sh
/RAM Disk>testargv.pl foo bar
foo
bar
/RAM Disk>perl testargv.pl foo bar
foo
bar
/RAM Disk>

the test file for the above was

#!SDK:Local/C/perl

print join("\n", @ARGV) . "\n";

Go to top
Re: Newer version of Perl than 5.8.5 for AmigaOS4.1?
Just popping in
Just popping in


See User information
Thanks for the information about what was going on with argv. I will have to have a play around with abc-shell. Shame about the #! limitation though, would be nice to natively run perl commands in the regular Amiga shell with arguments.

Go to top
Re: Newer version of Perl than 5.8.5 for AmigaOS4.1?
Home away from home
Home away from home


See User information
Tomorrow never comes they say, but it does sometimes....

http://os4depot.net/?function=showfil ... /language/perl_newlib.lha


If updating your SDK install the new SDK first then install this perl version over the top.

Unpack the lha archive to ram:

Unpack the inner tar.gz archive into the SDK either with Unarc or by

cd SDK:
tar -xzf ram:perl.5.16.3/perl.tgz

let me know of any problems.


Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project