Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
laziness, impatience, and hubris
 
PerlMonks  

(tye)Re: de-CCS-in-7-lines-perl

by tye (Sage)
on Mar 07, 2001 at 20:09 UTC ( [id://62829]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to de-CCS-in-7-lines-perl
in thread 7 lines of Magic

The "read+" can be replaced with "read ". However, if you replace "pack+" with "pack " and then end up with "pack (expr),arg,arg" then it gets parsed as "(pack(expr)),arg,arg" while "pack+(expr),arg,arg" gets parsed as "pack((expr),arg,arg)". My quick look didn't tell me if that was actually a problem for this particular script or not.

The "unary plus" trick is a faily common way of making a call to a predeclared function without using parens around the arguments when the first arugment might have parens around it.

        - tye (but my enemies call my lawyers)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://62829]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.