OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: perl arg counting
From: Antonomasia (antnotatla.demon.co.uk)
Date: Thu Jun 29 2000 - 13:51:48 CDT


#!/usr/bin/perl -w
require 5.004;
use strict;
printf "%d %d %d\n", 99, 88, 77, print "an arg too far\n";

I have not managed to get error indications in Perl for
mismatched argument numbers; not even the above case which
looks to me a no-brainer.

Adding further args seems to show processing from R to L
regardless of the content of the format string.
Maybe we'll actually have to do some work and count the stuff.

--
##############################################################
# Antonomasia   antnotatla.demon.co.uk                      #
# See http://www.notatla.demon.co.uk/                        #
##############################################################