matze77 has asked for the wisdom of the Perl Monks concerning the following question:
If i got something like this (code tags forgotten), taken from: "animal":
10: use Data::Dumper; 11: 12: my $info = "dog"; 13: 14: { 15: try($info);
Pseudo Code:
foreach { ("^ ") && | [[0-99]:]; print ""; }
Thx Corionsed s/^[ \t]*// #remove leading whitespaces sed s/^[0-9]*//g #remove leading numbers sed s/^:*//g #remove leading ":"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Clean Up downloaded "messy" script?
by Corion (Patriarch) on Dec 20, 2008 at 13:45 UTC | |
|
Re: Clean Up downloaded "messy" script?
by oko1 (Deacon) on Dec 20, 2008 at 14:22 UTC | |
by matze77 (Friar) on Dec 20, 2008 at 14:52 UTC |