Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: (tye)Re: [substr] anomaly or mine?

by Chmrr (Vicar)
on Aug 19, 2002 at 23:57 UTC ( #191349=note: print w/ replies, xml ) Need Help??


in reply to (tye)Re: [substr] anomaly or mine?
in thread [substr] anomaly or mine?

Using that logic, then, you would expect:

print substr($s,0,4)='',$s;

..to print:

|k brown fox jumps over the lazy dog

..as it would return what it was just set to.

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'


Comment on Re: (tye)Re: [substr] anomaly or mine?
Select or Download Code
Re: Re: (tye)Re: [substr] anomaly or mine?
by BrowserUk (Pope) on Aug 20, 2002 at 00:16 UTC

    Thankyou.


    What's this about a "crooked mitre"? I'm good at woodwork!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-09-22 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (178 votes), past polls