Adam Turoff wrote: > > On Mon, Mar 24, 2003 at 08:21:51PM -0500, Benjamin Goldberg wrote: > > And what happens if a programmer wants to have two different > > variables, of two different types, with the same name, such as @data > > and %data? > > > > Without sigils, it cannot be done. > > Vast numbers of C, C++, C#, Java, Python, Lisp, APL, FORTRAN, Forth, > COBOL, Shell, Basic, ASM, Pascal, Modula-*, Oberon, Smalltalk, > Ruby, Ada, Tcl, Icon, SNOBOL and Objective C programmers have been > quite productive for many man-millenia without this capability.
Really? Then why does the following C program: int main(int arg_count, char * arg_vec[]) { int foo; double foo; return 0; } Produce an error when I try and compile it? -- $a=24;split//,240513;s/\B/ => /for@@=qw(ac ab bc ba cb ca );{push(@b,$a),($a-=6)^=1 for 2..$a/6x--$|;print "[EMAIL PROTECTED] ]\n";((6<=($a-=6))?$a+=$_[$a%6]-$a%6:($a=pop @b))&&redo;}