#!/usr/bin/perl use strict; use warnings; while (<DATA>){ print /^public/?$_ = "/*".$_."*/":$_; } __DATA__ /** * public void method1(); * is deprecated */ public void method1();
In reply to Re: replace java code when not commented
by zer
in thread replace java code when not commented
by neeha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |