Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Wishlist, request for namespace



******    message to minivend-users from cfm@maine.com     ******


I'd like to put these on wishlist ;^)

1)
We've been building our custom minivend libraries in lib/Vend and
now wish to move them out to /usr/lib/perl5/MV because we want to share
them with other non-minivend scripts.  That's a bigger than minivend 
issue, but we can risk it; I'm mostly concerned that minivend not claim
that space.  With name change, maybe that is moot?

2)
What is most sensible way to do this:

[embed]
my ($foo);
$foo=new bar;

[/embed]

Other minivend stuff

[embed]

return $foo->blat;

[/embed]

Where [embed] tag is a fancy version of Mike's unsafe perl tag, eg
it permits direct raw access to everything bypassing Safe.  What we
want is for $foo to live for duration of that page, maybe the
same scope as $CGI?  I think what we're looking for is another
shortlived namespace that gets set up on a per page basis.  We don't 
want it to go into Session.  Is that what Scratch does?  Am I making
any sense?

cfm




-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: