in reply to Assigning text sections to scalars

Make sure your variables $author & $abstract are declared globally - otherwise, they will be set inside the if{}, but not outside. You can easily check if this is the prob by putting print $author $abstract inside the if statement. If that returns values, that's the prob....

Replies are listed 'Best First'.
Re (tilly) 2: Assigning text sections to scalars
by tilly (Archbishop) on Apr 25, 2001 at 20:07 UTC
    You must be thinking of a different language.

    In Perl's scoping rules undeclared variables are global by default. For full details see Dominus' excellent article Coping with Scoping.