Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Determining uniqueness in a string.

by Yzzyx (Beadle)
on Oct 01, 2005 at 00:37 UTC ( [id://496566]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    while ( <> ) {
    ...
        }
        return 1;
    }
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    while ( <> ) {
    ...
        $x =~ tr/0-9//s;
        length $x == 10 ? return 1 : return 0;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-19 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found