Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Just another Perl shrine
 
PerlMonks  

Re: Where to put self-made loop logic (separate module)?

by Anonymous Monk
on Dec 28, 2012 at 23:06 UTC ( #1010760=note: print w/ replies, xml ) Need Help??


in reply to Where to put self-made loop logic (separate module)?

Nowhere?

From your description it doesn't sound special :) sounds like

while( $$ref =~ m{^(.*$)$}gsm ){ my $line = $1; ... }
and IMHO that doesn't need a module

OTOH see See Simple Module Tutorial and Modern Perl and Re^2: Write to existing file with character insert


Comment on Re: Where to put self-made loop logic (separate module)?
Download Code
Re^2: Where to put self-made loop logic (separate module)?
by Anonymous Monk on Dec 28, 2012 at 23:10 UTC
    haha ;) //gm not /s

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010760]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-04-24 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls