Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 avoiding work at the Monastery: (10)
As of 2015-07-02 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls