Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

RE: Caution - contents may settle in transit

by Anonymous Monk
on Oct 12, 2000 at 21:49 UTC ( [id://36453]=note: print w/replies, xml ) Need Help??

in reply to Caution - contents may settle in transit

I have a script like this and i'm trying to understand how it works... the $_=q(with all those unprintable char after) how does this work. Please help I need it bad, i've been serching since yesterday...
  • Comment on RE: Caution - contents may settle in transit

Replies are listed 'Best First'.
RE: RE: Caution - contents may settle in transit
by cwest (Friar) on Oct 12, 2000 at 21:53 UTC
    Read the docs for qin perlop. Learn how to build a q operator statement with different delimiters.
    $_=q uit it u; print; # prints 'it it '
       I am a superhero.
      Hi! THanks a lot, you've put me on the right page! ;) But I can't figure out how the tr{}{} function operator works... I have a "tr" followed by a bunch of garbage in a script but can't figure out how to translate this stuf... any exemple? thanks again for your precious help! you're my superhero ;)
        Read perlop for the tr operator. It's the same thing... these operators ( q, qq, qw, s, tr, m, qx, qr ) can all be delimited by nearly any delimiter.
           I am a superhero.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-06-12 17:25 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.