procmail
[Top] [All Lists]

Re: stumped on passing arguments

2000-12-06 11:08:14
On  6 Dec, mark david mcCreary wrote:

| [...]
| 
| I want to make the right margin a variable, like this
| 
| RMARGIN=65
| :0 wfb
|| perl  -M"Text::Autoformat" -e'autoformat{left=>1, right=>$RMARGIN, all=>1}'
| 

A perl answer for a perl question... the variable $RMARGIN is an
environment variable, so perl will find it's value in $ENV{RMARGIN}.
$RMARGIN, as you use it in the one-liner, is undefined.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>