Have a simple subr &HTMLFTR to do a series of print stmts and that subr is then called by a series of error routines like $Too_long and $no_name, etc (neither level subr get any arguments from calling mainline, but $no_name etc do call $HTMLHDR with a set of arguments so I've done some of this before but not this situation)
Now I need to test a Y/N switch in &HTMLFTR that was set in mainline to determine if a given print stmt should be done or not...so how do I easily pass the switch downstream to the 2nd level subr $HTMLFTR when I call $cap_err without messing up other subr calls like $no_name that don't need the switch? And all the other calls to $HTMLFTR that don't need it either?
Thanks much! Now heading to bed and hope an answer awaits me in the morning....