Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: Dynamic Class Loading, Compilation, & Speed

by shmem (Chancellor)
on Mar 07, 2010 at 19:40 UTC ( #827267=note: print w/replies, xml ) Need Help??

in reply to Re: Dynamic Class Loading, Compilation, & Speed
in thread Dynamic Class Loading, Compilation, & Speed

Nitpick... to handle the equivalent of use Module qw(foo => 'bar'); -

# ...later... load_class("Some::Class", @load_args); sub load_class { my $class = shift; (my $file = "$") =~ s|::|/|g; unless( $INC{$file} ) { require $file; }# end unless(); $class->import(@_); }# end load_class()

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://827267]
Discipulus stopped with turkisk spices anyway.. but better hashes than arrays!
[oiskuu]: Discipulus, from the edge or from the top?
[Discipulus]: oiskuu from the top aka 0-0 coords
[LanX]: edge or node?
[oiskuu]: from each height difference, there's a fixed number of "moves right" - "moves left". So it's a number of combinations.
[Discipulus]: I already know how much distinct paths exists but to demonstrate the property i want to have them all
[oiskuu]: ie C(n, k); where n is height difference, k is position in the line
[Discipulus]: infact there are 70 distinct path to reach the tale wich holds 70

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2018-03-19 11:03 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (239 votes). Check out past polls.