Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Regx Question

by Abigail-II (Bishop)
on Jul 31, 2002 at 11:05 UTC ( [id://186465]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Regx Question
in thread Regx Question

my @chunks = split /\\/ => $data; splice @chunks => -2, 1 if $chunks [-1] eq 'final'; $data = join "\\" => @chunks;
Abigail

Replies are listed 'Best First'.
Style Question: => vs ,
by laughingboy (Monk) on Jul 31, 2002 at 16:11 UTC
    What is your rule of thumb for using => instead of , in argument lists?

    laughingboy

      => separates arguments with different types/roles.

      Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-23 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found