Start it with use subs foo; U need to predeclare a subroutine to use it as a "builtin". See perldoc subs.
At 07:35 PM 9/14/05 +1000, Sisyphus wrote: >use warnings; >print VALUE(),"\n"; >sub VALUE {return 42} > >but I want to write it as: >print VALUE, "\n"; >not : >print VALUE(), "\n"; > >That is - all I'm really wanting to do is avoid the brackets ... but I don't >know how to achieve that. -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs