Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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'

Replies are listed 'Best First'.
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: (10)
As of 2016-06-25 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.