Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • by cees (1130) on 2001.03.06 18:40 (#998)
    use POSIX qw(ceil);

    my $one_plus_one = sum(ceil(rand), cos());

    sub sum {
            @_ && (shift)- -sum(@_);

    btw - this code will fail to produce a correct answer every once in a while :)