Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Adding 2 + 2 (digit-less 1)

by ikegami (Pope)
on Jan 29, 2007 at 20:46 UTC ( #597169=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $one = !@!;
    my $one = !!$];
    ...
    my $one = @{[$$]};
    my $one = 'a'^'P';             # Character set specific.
    my $one = ord('b')-ord('a');   # Character set specific.
    
  2. or download this
    my $two = $one+$one;
    my $two = $one<<$one;
    ...
    my $two = ()=/(.*)(.*)/;       # Side-effect: Changes $1, etc
    my $two = 'a'^'S';             # Character set specific.
    my $two = ord('c')-ord('a');   # Character set specific.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-12-27 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls