fletcher_the_dog has asked for the wisdom of the Perl Monks concerning the following question:
goes tomy $foo = bar('thing');
I've been poking around cpan looking for something similiar to this, but haven't found anything. I want to use it for a source filter that will rearrange some code for my own brand of OO programming.$tokens= [ ['my' => "function"], [' ' => "whitespace"], ['$foo' => "scalar"], [' ' => "whitespace"], ['=' => "operator"], [' ' => "whitespace"], ['bar' => "function"], ['(' => "delimiter"], ['thing' => "string"], [')' => "delimiter"], [';' => "delimiter"] ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module to parse perl
by halley (Prior) on May 22, 2003 at 19:47 UTC | |
|
Re: Module to parse perl
by talexb (Chancellor) on May 22, 2003 at 19:48 UTC | |
|
Re: Module to parse perl
by ChemBoy (Priest) on May 22, 2003 at 21:48 UTC | |
|
•Re: Module to parse perl
by merlyn (Sage) on May 23, 2003 at 11:13 UTC | |
by broquaint (Abbot) on May 23, 2003 at 11:19 UTC |