in reply to Re^4: How to print out package code ?
in thread How to print out package code ?
open MODULE, "perldoc -m ModuleX |" or die "Failed to open pipeline($! +)"; open(X,"> xxx_dump.txt")|| warn "Fail: ($!)"; while (<MODULE>) { print X $_; } close X; close S;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to print out package code ?
by Martin90 (Sexton) on Mar 18, 2013 at 22:14 UTC | |
by roboticus (Chancellor) on Mar 18, 2013 at 23:09 UTC | |
by Martin90 (Sexton) on Mar 19, 2013 at 00:13 UTC | |
by LanX (Saint) on Mar 19, 2013 at 01:24 UTC | |
by Anonymous Monk on Mar 19, 2013 at 07:03 UTC | |
by Martin90 (Sexton) on Mar 19, 2013 at 11:03 UTC | |
by Corion (Patriarch) on Mar 19, 2013 at 13:09 UTC | |
| |
by Anonymous Monk on Mar 19, 2013 at 13:02 UTC |