Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Syntactic Confectionery Delight
 
PerlMonks  

Re: Why does this code quit?

by adamsj (Hermit)
on Feb 01, 2002 at 08:12 UTC ( #142632=note: print w/ replies, xml ) Need Help??


in reply to Why does this code quit?

You also have an unpleasant surprise waiting in this line here

$perbus =~ tr/A-Za-z/a-z/ ;

which is not going to do what you think it will. See perlop for more guidance.

adamsj

They laughed at Joan of Arc, but she went right ahead and built it. --Gracie Allen


Comment on Re: Why does this code quit?
Download Code
Re: Re: Why does this code quit?
by tachyon (Chancellor) on Feb 01, 2002 at 13:56 UTC

    GOOD Point! or was that good pzzzz! The lc lower case function is a shorter faster way to do it than tr/A-Za-z/a-za-z/ which is redundant as you only require tr/A-Z/a-z/ to do the same as lc cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://142632]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-04-21 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (490 votes), past polls