in reply to Building custom routines with Sub-Exporter using the "-m" flag in a perl one-liner
Can't test it, don't have perl10 on this machine, so untested guess is:
-mCommunicate=greet,"{greeting => 'Well-done',-as => 'say_to'}"
UPDATE: Which is probably not the answer because of the split I guess. If that is the case, the commas in the string need to be substituted by \x... equivalents
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Building custom routines with Sub-Exporter using the "-m" flag in a perl one-liner
by j1n3l0 (Friar) on Aug 21, 2008 at 16:00 UTC | |
by jethro (Monsignor) on Aug 21, 2008 at 16:45 UTC | |
by j1n3l0 (Friar) on Aug 21, 2008 at 16:48 UTC |