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 scrutinizing the Monastery: (4)
As of 2016-10-01 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.