Stories
Slash Boxes
Comments
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

use Perl Log In

Log In

[ Create a new account ]

sky (1411)

sky
  (email not shown publicly)

sky on IRC

Journal of sky (1411)

Sunday July 28, 2002
05:20 PM

I am back from outerspace

[ #6702 ]

My journal has been rather dead for quite some time. This has mostly been corresponding work workload and depression.

Now that 5.8 is out, threading is done, my depression is finally lifting I am getting time to do something fun!

That fun seems to be taking over some of Simon internal tools to be able to do something I have wanted to do for quite some time

types.pm - strict type checking in perl

People have said it is impossible, can't be done and so on, but guess what, people are stupid and wrong!

NOTHING IS IMPOSSIBLE


use types;
my int $foo;
sub foo { return 5.5 };
$foo = foo();

What does that give you, it gives you a compile time warning that you are trying to assign the return value of main::foo() which is a float to an int.

Stay tuned, I will continue talking about optimize.pm and types.pm around here.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.