Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[atcroft]: .oO(Then there is the effect if a site changes their timezone, such as when the International Date Line was moved by the purchase of Alaska by the US from Russia in 1867, or several places (I cannot recall off-hand) that moved from one side of the Date
[atcroft]: Line to the other recently....)
[atcroft]: .oO(Then again, you also have to be careful if you had it to the database, and be aware of any assumptions it makes (such as SQLite assuming Gregorian calendar and a day of exactly 86400 seconds)...)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-04-29 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.