Well it's an html print function sub PrintTopOfPage{ my $body = $_[0]; print<<END; <html><body $body> ... END }
It works fine, variables are printed (it prints the value of the variable, which is what I want), but I get that warning. I don't have the warning when using individual print statements.. but for a long part it's way too long to escape caracters and format so that the source looks not too bad. Any clue? Etienne RaFaL Pocztarski wrote: > Etienne Marcotte wrote: > > > > print<<END; > > or print<<"END"; > > > > it gives me a warning "Use of uninitalized value at (filename) > > (linenumber) > > How does your text look like? Remember that variables are interpolated > in your text, if you don't want that use <<'END' instead. > > - RaFaL Pocztarski, [EMAIL PROTECTED] > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]