in reply to Re^2: modules using things from other modules
in thread modules using things from other modules
Sure. Here you go-
package MyPackage; use CGI (); sub get_raw_cookie { return CGI::raw_cookie(); }
You do not need to create a CGI object to use its functions. raw_cookie() is not likely to be what you want either unless you're passing it to another cookie parser. The cookie handling that comes with CGI is probably better.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: modules using things from other modules
by Anonymous Monk on Sep 01, 2008 at 20:42 UTC | |
by Anonymous Monk on Sep 02, 2008 at 05:50 UTC |