A way I like to use to "comment out" code chunks is by turning them into
string literals.  Type an aposotrophe at the beginning of the code block and
then another '; at the end of the block and everything in between is now a
string literal called in void context.  Just have to make sure there are no
stray apostrophe's in there. ;)  There are other variations on this as well.

'
&blah();
...provisional code....
$i++;
';


At 11:43 PM 2/4/2007 -0800, Bill Luebkert wrote:
>There are other ways to block out code in Perl.  Personally, I use
>a vim macro and just comment out the block by marking the first line
>(type ma [mark 'a' position]) and going to the last line and executing
>the macro by hitting the key you have it bound to (I use #).


--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede malis"

00000100

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to