in reply to replace java code when not commented
#!/usr/bin/perl use strict; use warnings; while (<DATA>){ print /^public/?$_ = "/*".$_."*/":$_; } __DATA__ /** * public void method1(); * is deprecated */ public void method1();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: replace java code when not commented
by zer (Deacon) on Mar 28, 2006 at 05:51 UTC |