Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: Need explanation: what \$_ and ${} do

by chester (Hermit)
on Nov 11, 2005 at 15:36 UTC ( #507755=note: print w/replies, xml ) Need Help??

in reply to Re^2: Need explanation: what \$_ and ${} do
in thread Need explanation: what \$_ and ${} do

    s   Treat string as single line. That is, change "." to match any
        character whatsoever, even a newline, which normally it would not

There are no .'s in the regex.

Replies are listed 'Best First'.
Re^4: Need explanation: what \$_ and ${} do
by polettix (Vicar) on Nov 11, 2005 at 15:47 UTC
    ... which makes me learn that [^>] does match a newline :)

    Thanks for bothering, chester!

    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Don't fool yourself.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://507755]
[marto]: Eily, there's actually a lot of good discussion on the topic in the HN link choroba posted
[marto]: sorry for the late response, busy busy :/
[Corion]: I think you need to load Readline in the debugger, but I don't know how
[Corion]: Yay, invitation for a team-building workshop, with a team of 100 people :-/
[Eily]: marto after an additional read I started to see the light actually. And choroba's link was helpful as well :)
[Corion]: I'll send my colleague who doesn't yet know the people there, and I'll do production duty instead.
[GotToBTru]: ugh. Thanks Corion

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2017-07-26 15:03 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (396 votes). Check out past polls.