Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 chanting in the Monastery: (11)
As of 2014-09-22 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (197 votes), past polls