Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Re: Re: strict isn't everything

by gav^ (Curate)
on Jun 12, 2002 at 03:31 UTC ( #173724=note: print w/replies, xml ) Need Help??

in reply to Re: Re: strict isn't everything
in thread strict isn't everything

While if( $_file_name !~ /^(\s*)$/ ) {
does handle the case of undef, it will cause a warning:
use warnings; my $_file_name = undef; if ($_file_name !~ /^(\s*)$/ ) { print "ok\n"; } __END__ Use of uninitialized value in pattern match (m//) at line 6.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://173724]
[roboticus]: Maybe use a squarified tree map tool (first google hit I got: https://windirstat .net/)
[Discipulus]: LanX TreeSize used to be useful.. but if is 9mb..;=)
[pryrt]: LanX, I like NirSoft SearchMyFiles for finding large / duplicate files...
[SuicideJunkie]: Windirstat is what we use here for nagging people who use up the transfer share.
[SuicideJunkie]: Helps that the top level directories are people's names ;) But the nested rectangles make it easy to spot wasted space when it is lots of small stuff or a few big things.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2017-09-20 16:56 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (237 votes). Check out past polls.