Hi.

I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you. I know we all do research before posting
here, in some form or another, but things get past the best of us, and
that's okay.

Sadly Google hasn't given us a nice, legal API for searching newsgroups,
so you may also want to try these searches.

 http://groups.google.com/groups?q=Perl+remove+control+chars
 http://groups.google.com/groups?q=remove+control+chars+group%3Acomp.lang.perl.*

If you didn't get any useful results below, there's a chance your
Subject line was not specific enough, or not detailed enough. For
example, the following subject lines are not very good choices.

  Subject: Doubt
  Subject: HELP!
  Subject: Problem

Enjoy!

Perl.org Beginners' Lists, 0 results.
  Searched: site:nntp.x.perl.org inurl:perl.beginners -inurl:show_headers remove 
control chars

Perl.org Lists, 0 results.
  Searched: site:nntp.x.perl.org -inurl:show_headers remove control chars

search.cpan.org, 10 results.
  Searched: site:search.cpan.org remove control chars

  [1] search.cpan.org: CGI::Debug - module for CGI programs debugging
       http://search.cpan.org/search%3Fmodule=CGI::Debug
         ... At any time you can remove the "use CGI ... 2. environment
         control variables 3. the importcontrol parameters 4 ... cookies;
         environment variables (max 60 chars in value). ...

  [2] Package Win32::GUI::Textfield
       http://search.cpan.org/src/ACALPINI/Win32-GUI-0.0.558/docs/html/Textfield.html
         ... multiline => 0/1 (default 0) the control can have ... Limits
         the number of characters that the Textfield accept to CHARS, or
         returns the ... To remove the limit (eg. ...

  [3] /* File: freesubs.c * Author: Richard Durbin ([EMAIL PROTECTED] ...
       http://search.cpan.org/src/LDS/AcePerl-1.74/ace/freesubs.c
         ... continuation */ { ++line ; while (isspace (*in = getc(fil))) ;
         / remove whitespace */ } else ... isprint (*in) && *in != '\t') /*
         ignore control chars, eg \x0d ...

  [4] <html> <head> </head><body><pre>&lt;html&gt; &lt;head&gt; &lt;/ ...
       http://search.cpan.org/src/ILYAZ/Term-ReadLine-Perl-1.0203/CHANGES
         ... Word break chars more suitable for Perl ... Allow control-?
         ... readline::rl_getc added with the default value
         \&amp;amp;readline::rl_getc 0.9907: remove defined() noise ...

  [5] 0.2: Test added.
       http://search.cpan.org/src/ILYAZ/Term-ReadLine-Perl-1.0202/CHANGES
         ... Word break chars more suitable for Perl. ... Allow control-?
         ... readline::rl_getc added with the default value
         \&readline::rl_getc 0.9907: remove defined() noise. ...

  [6] search.cpan.org: zoiduser - Extended user documentation for zoid
       http://search.cpan.org/~pardus/Zoidberg-0.40/man1/zoiduser.pod
         ... In theory you should be able to remove or replace ... bash(1).
         Also this syntax requires less chars to execute a ... you should
         use perl for things like flow control. ...

  [7] Win32::GUI methods
       http://search.cpan.org/src/ACALPINI/Win32-GUI-0.0.558/docs/methods.html
         ... To remove the limit (eg. ... which is 32k for a single-line
         Textfield and 64k for a multiline one) set CHARS to 0. ... Gets or
         sets the modified flag on the control. ...

  [8] <html> <head> </head><body><pre>&lt;html&gt; &lt;head&gt; &lt;/ ...
       http://search.cpan.org/src/LDACHARY/Catalog-1.02/ChangeLog
         ... bin/convert_dmoz.PL: changed description from char(255) to ...
         Improved clarity and layout of control panel ... t/mysql.pl :
         create * Makefile.PL: remove test override ...

  [9] CHANGES for vcp - Version CoPy 0.3 - VSS Support added - bin/vcp ...
       http://search.cpan.org/src/RBS/VCP-0.3/CHANGES
         ... Sun Apr 15 15:56:32 EDT 2001 - Removed a couple ... and
         VCP::Dest::revml are now binary,control code, and ... than tab,
         line feed, space, or printable chars (32 <= c ...

  [10] #!/opt/perl5/bin/perl eval 'exec /opt/perl5/bin/perl -S $0 ${1+" ...
       http://search.cpan.org/src/TIMB/Oracle-OCI-0.06/h2xs
         ... if s/^$opt_p(?!\d)//; $_ } @fnames_no_prefix; # Remove macros
         which ... for macros for my $k (qw(char double float ... a
         constant is not found then control is passed ...

Google Search, 10 results.
  Searched: Perl remove control chars

  [1] How do I remove control characters? [164831 categorized question ...
       http://perlmonks.thepen.com/164831.html
         ... Answer: How do I remove control characters ... but all you
         needed to make your pseudocode real perl code was ... Note that
         the control chars are \000 - \037 so these are ...

  [2] Answer: How do I remove control characters? [164953 categorized ...
       http://perlmonks.thepen.com/164953.html
         ... I remove control characters? tr/// is better but all you
         needed to make your pseudocode real perl code was: s/[^\040-\176]/
         /g. Note that the control chars are ...

  [3] <html> <head> </head><body><pre>#!/usr/local/bin/perl # AUTHOR: ( ...
       http://www.cs.albany.edu/~mosh/Perl/clean
         <html> <head> </head><body><pre>#!/usr/local/bin/perl # AUTHOR: (C
         ... &#39; ; $USAGE = &#39;USAGE: clean [options] files SYNOPSIS:
         Remove control-chars, C Comments ...

  [4] Translate Characters with Perl
       http://www.users.voicenet.com/~corr/macsupt/macperl/translatechar.html
         ... We wanted to remove the control characters ... file (-p) and
         execute (-e) a line of perl that uses ... the set of numbers (ie,
         letters, spaces, control chars, etc.) or ...

  [5] CERT/CC How To Remove Meta-characters From User-Supplied Data In ...
       http://www.cert.org/tech_tips/cgi_metacharacters.html
         Examples in C and Perl.

  [6] Re: [MacPerl] Embedded Control Chars (fwd)
       http://bumppo.net/lists/macperl/1997/10/msg00169.html
         ... To: [EMAIL PROTECTED] (Mac Perl); Subject: Re: [MacPerl]
         Embedded Control Chars (fwd ... written to handle the various OS
         types this should remove the problem ...

  [7] How To Remove Meta-characters From User-Supplied Data In CGI ...
       http://lib.ru/SECURITY/cgisecure.txt
         ... The act of gaining this control is called "sanitizing" the ...
         in Perl: #!/usr/local/bin/perl $user_data = $ENV ... s/[\/
         ;&\t]/_/g; # Remove bad characters ...

  [8] CVS log for swishe/swish-e/Attic/README
       http://cvs.sourceforge.net/viewcvs.py/swishe/swish-e/Attic/README
         ... As stated by Rainer, an external filter can return control
         chars and should be removed. ... the doc generations scripts I'm
         including much of perl modules as ...

  [9] Regular Expressions: Perl Corner
       http://www.infocopter.com/perl_corner/perlre.htm
         ... wide hex char (Unicode SMILEY) \c[ control char \N{name ...
         Remove leading and trailing spaces (trim a string ... grep { $_ }
         split / /, $trimmed_string; Perl pre-parsed ...

  [10] <html> <head> </head><body><pre>-----BEGIN PGP SIGNED MESSAGE--- ...
       http://www.arcert.gov.ar/webs/tips/cgi_metacharacters.txt
         ... The act of gaining this control is called &quot ... For
         instance, in Perl: #!/usr/local/bin/perl $user_data = $ENV{&#39
         ... &lt;\&gt;&amp;\t]/_/g; # Remove bad characters ...

-- 
Automated Google Searches from Casey West
Questions or Problems? [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to