Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RE: Caution - contents may settle in transit

by Anonymous Monk
on Oct 12, 2000 at 21:49 UTC ( #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? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2022-05-16 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (63 votes). Check out past polls.

    Notices?