Hi Jackie (again)

Sorry about the glitch, anyway, as I was saying, I would probably add a
global variable to httpd.conf and initialise it from my main autohandler to
some value

eg.
    $MyGlobalVar = 1;

then. in the shared module, I'd follow the statements with some condition
like:

    print .... if ( not defined $MyGlobalVar);

Jim Rey


On 02/01/07, Jackie Hamilton <[EMAIL PROTECTED]> wrote:


I have an html file (mason code embedded) that's calling a separate
module, and the module has a bunch of print statements in it. Since the
module is being used by other scripts, I can't remove the print statments,
but I don't want that output to show on the page. I've tried setting up
out_method:

my $blah;
$m->out_method(\$blah);

However this isn't doing the trick - the prints are still showing up on
the page. What am I missing?

Thanks!

-- Jackie Hamilton
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users




--
Jim Rey
48 Laburnum Park
Bradshaw
Bolton BL2 3BU
United Kingdom
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to