Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: nondestructive way to look at a character in a string

by Anonymous Monk
on Jan 15, 2022 at 20:06 UTC ( [id://11140480]=note: print w/replies, xml ) Need Help??


in reply to nondestructive way to look at a character in a string

substr

Replies are listed 'Best First'.
Re^2: nondestructive way to look at a character in a string
by BernieC (Pilgrim) on Jan 15, 2022 at 20:54 UTC
    Of course. It slipped my mind and when I was flailing around trying to remember it I ran across:
    D:\>perldoc -f substr No Perl script found in input
    And I see my problem now -- for *some* reason, "perldoc -f" does not work from a command prompt when it is in the root of D:. That's for *anything: nothing works from D:. What a crazy thing -- I've tried it cd'ed to a dozen other directories on various other filesystems and it works perfectly.. but not from d:. oh well, now that I see what I did wrong. thanks for reminding my fuzzy mind {and prodding me to realize that perldoc wasn't working in this odd way}

      It's available online at perldoc.perl.org. To wit, substr.

      [doh, this was basically indicated already. I'm being distracted.]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found