[comp.lang.perl] Porting PERL on Decstation 5000 running Ultrix 4.0

koffi@bsu-cs.bsu.edu (There will be enough room in HEAVENS for all of US) (03/19/91)

I would like to know if anybody has ported PERL on DECStation 5000 running
Ultrix 4.0. Are there any problems and what are the traps to avoid? 
Any suggestions and comments!

Please send me back response or generously post it.

Thanks!

evans@decvax.DEC.COM (Marc Evans) (03/19/91)

In article <12540@bsu-cs.bsu.edu>, koffi@bsu-cs.bsu.edu (There will be enough room in HEAVENS for all of US) writes:
|> I would like to know if anybody has ported PERL on DECStation 5000 running
|> Ultrix 4.0. Are there any problems and what are the traps to avoid? 
|> Any suggestions and comments!

I have it working on Ultrix 4.2, and OSF/1 for the 5000. However, the dbm code
seems to be havign problems on the OSF/1 OS, which is demonstraited by the
following (data never gets written to the datafiles):

	exit 0 if ($#ARGV < 0);
	$dbname = $ARGV[0];
	dbmopen(%s,$dbname,0666);
	$s{'foo'}++;
	$s{'bar'}++;
	dbmclose(%stats);
	exit 0;

I am assuming that the problem is not in perl, but rather something that we
haven't discoved about OSF/1 (yet).

- Marc
-- 
===========================================================================
Marc Evans - WB1GRH - evans@decvax.DEC.COM  | Synergytics     (603)635-8876
      Unix and X Software Consultant        | 21 Hinds Ln, Pelham, NH 03076
===========================================================================

evans@decvax.DEC.COM (Marc Evans) (03/19/91)

In article <21207@shlump.nac.dec.com>, evans@decvax.DEC.COM (Marc Evans) writes:
|> 	exit 0 if ($#ARGV < 0);
|> 	$dbname = $ARGV[0];
|> 	dbmopen(%s,$dbname,0666);
|> 	$s{'foo'}++;
|> 	$s{'bar'}++;
|> 	dbmclose(%stats);
|> 	exit 0;

In the above sample code I the line dbmclose(%stats) really is dbmclose(%s).
Thanks to Randall for pointing out this typo I made when simplifying the script
for posting...

- Marc
-- 
===========================================================================
Marc Evans - WB1GRH - evans@decvax.DEC.COM  | Synergytics     (603)635-8876
      Unix and X Software Consultant        | 21 Hinds Ln, Pelham, NH 03076
===========================================================================