Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 85829 invoked from network); 15 Mar 2005 17:14:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Mar 2005 17:14:21 -0000 Received: (qmail 9795 invoked by uid 500); 15 Mar 2005 17:14:20 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 9775 invoked by uid 500); 15 Mar 2005 17:14:19 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 9762 invoked by uid 99); 15 Mar 2005 17:14:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from nero.netwalk.org (HELO nero.netwalk.org) (64.142.79.74) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 15 Mar 2005 09:14:14 -0800 Received: by nero.netwalk.org (Postfix, from userid 1001) id 8777980B1; Tue, 15 Mar 2005 09:14:08 -0800 (PST) Date: Tue, 15 Mar 2005 09:14:08 -0800 From: Daniel To: embperl@perl.apache.org Subject: $escmode Message-ID: <20050315171408.GG57654@nero.netwalk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I tried using $escmode in a library today, which didn't seem to work. I wrote this for debugging purposes: sub p { use Data::Dumper; local $escmode=0; print OUT "\
";
    print OUT Dumper $_[0];
    print OUT "\
"; } How can I use this from a library? Are you guys using anything else for easy debugging on variables? db --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org