Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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 '
    Enjoy!
    --
    Casey
       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.
        --
        Casey
           I am a superhero.
        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2025-07-08 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.