PerlMusings

Note: You are viewing an old revision of this page. View the current version.

A couple things I want to ponder for a blog post

for (my $i = 0; 1; $i++)

vs

while($i++)

which is better?

and talk about using the (? non-capture modifier in regexp matches

($package) = (/add yinst (?:pkg|package) (\S+)/);


Our Founder
ToolboxClick to hide/show