Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Range of chars except one

by Marcello (Hermit)
on Jan 19, 2002 at 20:59 UTC ( [id://140088]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $startCh = chr(0);
    my $endCh = chr(31);
    
    $text =~ s/[$startCh-$endCh]//g;
    
  2. or download this
    $startCh = chr(0);
    $endCh = chr(9);
    ...
    $endCh = chr(31);
    
    $text ==~ s/[$startCh-$endCh]//g;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://140088]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found