Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Perl Monks User Search

( #6364=superdoc: print w/replies, xml ) Need Help??

This is where you can search for all the writeups contributed by any user. Just enter the user name and select the order for the search.

Author: Show nodes
Order by: starting at .
Node Type: Show Categorized Q&A (Why?)

Or try a Super Search


These nodes all have stuff by Hue-Bond (showing 51-100 out of ~354?):

Previous 50 Next 50
Node ID Writeup Created
704083 Re^3: Ulimit makes program hang 2008-08-13 14:37
703878 Re^5: Leftover votes: wild suggestion / feature request(s) (<=2x) 2008-08-12 11:56
697867 Re^3: system/exec and %ENV 2008-07-16 06:37
696893 Re^4: A request from level 21 2008-07-11 05:34
696416 Re^4: Penance Highlighting? (subtle lack) 2008-07-09 10:23
696398 Re^2: Music shuffling 2008-07-09 07:18
695611 Re^3: custom sorting 2008-07-04 18:08
695555 Re: custom sorting 2008-07-04 12:23
695222 Re^2: CGI modules for plotting & graphing 2008-07-02 22:24
694921 Re^2: Zero-width look-ahead regexp question 2008-07-01 11:05
694909 Re^3: How can I pass File_Handle to a subroutine? 2008-07-01 09:10
693506 Re^2: Grabbing keyboard in X11 2008-06-23 12:21
693422 Grabbing keyboard in X11 2008-06-22 23:48
691033 Testing a module that writes logs to a file 2008-06-09 13:55
686522 Re: Deterministic or keys in random order 2008-05-14 14:13
680830 Re^3: fork(): where does copy happen? 2008-04-16 15:13
674544 Re^4: encryption golf (one time pad) 2008-03-17 10:49
653531 Re^2: Problem when deleting Class::DBI objects 2007-11-28 13:35
652987 Problem when deleting Class::DBI objects 2007-11-26 14:09
646852 Re^2: Extracting elements from an XML chunk leads to crash 2007-10-24 08:36
646313 Extracting elements from an XML chunk leads to crash 2007-10-21 20:58
579035 Re^2: How to pass two arrays to a sub? 2006-10-18 11:34
579024 Re: using Paralell::ForkManager to concatenate a string, where order of concatenation doesn't matter 2006-10-18 11:21
578904 Re^4: Form doesn't get updated after submission to same page 2006-10-17 21:25
578762 Re: Problem changing only first occurence of pattern in file 2006-10-17 13:27
578735 Re^2: Form doesn't get updated after submission to same page 2006-10-17 11:23
578725 Form doesn't get updated after submission to same page 2006-10-17 10:06
578665 Re^3: PNG to ASCII ? 2006-10-17 05:11
578337 Re: Sorting an array of arrays by field 2006-10-15 02:25
578318 pexec.pl: snippet runner 2006-10-14 20:30
578317 Re: loading modules at runtime 2006-10-14 19:55
578179 Re^2: Generating a format template for a date 2006-10-13 17:17
578148 Re: Matching Date 2006-10-13 14:41
578109 Re^2: taking a frame from a movie 2006-10-13 11:04
577964 Re: Regex Debugger? 2006-10-12 20:53
577924 Free nodelet hack: Consideration shortcuts 2006-10-12 18:46
577915 Re^5: Unicode and text files 2006-10-12 17:44
577840 Re^3: Unicode and text files 2006-10-12 14:02
577797 Re^2: Hidden Secrets of PERL 2006-10-12 10:24
577729 Re^2: Hidden Secrets of PERL 2006-10-11 22:58
577549 Re^2: i want to go through the code of Net::Ftp module in perl 2006-10-11 08:16
577332 Re: poll ideas quest 2006-10-10 06:59
577213 Re^2: reading a log file and sorting by last name 2006-10-09 16:01
577163 Re^5: working with epoch seconds 2006-10-09 12:58
577143 Re^3: working with epoch seconds 2006-10-09 11:47
577047 Re: Basics: CGI MySQL security 2006-10-08 23:20
577046 s/Perl hacker,/plagiarized node\n/; 2006-10-08 23:09
577024 Re^4: Tabs vs Spaces lets give this a go 2006-10-08 19:24
577013 Re^2: Parsing individual words from a file 2006-10-08 17:48
576965 Re: Tabs vs Spaces lets give this a go 2006-10-08 09:13
Previous 50 Next 50
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Corion]: You'll have to look somewhere esoteric for that. Maybe some tied variable or special dualvar can also trigger that. But it's certainly not a common occurrence
[Corion]: And on 5.20, the following also outputs no find:perl -wle 'for my $x ("\x{2000}".."\ x{1fffff}") { if( $x && ! length $x ) { warn qq(<$x>); warn length $x; die } }'
[Corion]: (this time on Unix)
[hippo]: Understood. I'll have to go through the code and see if it's doing anything fancy with ties, dual-vars or non-scalars. In the end, it's probably a bug though.
[Corion]: Aaah - you should be able to do this with overload, but I would hit somebody really hard if they constructed objects that are true but the empty string, and you not knowing about the domain knowledge where this makes sense
[Eily]: you could tie a variable into not having the same value each time, if you like to make people who try to debug your code facepalm
[Corion]: perl -wle 'package o; use overload q("") => sub {warn "str"; ""}, bool => sub{warn "bool"; 1}; package main; my $o={}; bless $o => o; print "Yay" if ($o && !length($o))'

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2017-07-27 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (413 votes). Check out past polls.