Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by Anonymous Monk
on Dec 28, 2012 at 23:06 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1010760]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found