Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Regex Optimization Question

by gawatkins (Monsignor)
on Mar 23, 2006 at 20:57 UTC ( #538865=note: print w/replies, xml ) Need Help??

in reply to Re: Regex Optimization Question
in thread Regex Optimization Question

Thank you, I lost my line during the cut/paste excercise and had to retype it. The -w is equivalent to the use warnings; isn't it. I often just leave the #! line out from my win32 scripts.

Thank you,
Greg W.

Replies are listed 'Best First'.
Re^3: Regex Optimization Question
by ikegami (Pope) on Mar 23, 2006 at 21:54 UTC
    It's not quite the same. -w is actually equivalent to BEGIN { $^W = 1; }. There biggest difference is that -w will affect included modules, whereas use warnings; only affects the current scope (block or file).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://538865]
[choroba]: https://metacpan. org/author/ SIMBABQUE might know. He's a heavy Ingress player.
[Corion]: choroba: Yeah, I know :) I might ask him at the GPW :))
hippo giggles at the thought of people "playing" Ingres
[Corion]: The data is the game ;)
[marto]: good morning all
[hippo]: Great slogan :)
[Corion]: Hi marto ;)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-03-19 09:18 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (236 votes). Check out past polls.