Skip to content
No results
  • Home
  • Categories
    • Life & Culture
    • Afghanistan
    • Travel
    • Reflections
    • Technology
  • About
  • RSS Feed
BlogEtcetera
BlogEtcetera

Thoughts on this, that and the rest

  • Home
  • Categories
    • Life & Culture
    • Afghanistan
    • Travel
    • Reflections
    • Technology
  • About
  • RSS Feed
BlogEtcetera
BlogEtcetera

Thoughts on this, that and the rest

developer-tools

  • Technology

The Split() Trap: Why Perl Was Discarding Empty Fields

I was working on a data-matching project. One organisation sending data to match against another. Standard stuff: plain text, fields separated by a delimiter (tab, in this case). I reached for Perl’s split function to break each line into an…

Read MoreThe Split() Trap: Why Perl Was Discarding Empty Fields
  • Hameed
  • 24 November 2011
  • code-snippet, developer-tools, Perl, Perl 5, programming, scripting, text-processing

Recent posts

  • You Do Not Look Afghan
  • The Search for Markdown Viewer is Over
  • Stop Reading Afghanistan in Black and White
  • How to Conditionally Sum and Group Data with awk
  • That Friday Energy (and How to Get It Every Day)

Tags

afghan-identity awk blogging code-snippet command-line development diversity Doha editor ethnicity Fedora foreign-policy health history i3wm Islam itinerary layover life linux linux-tips literature llm mindfulness pcl Perl Perl 5 personal-essay politics printer printing productivity programming qatar ramadan scripting society technology Tech Reflections terminal text-processing tui unix xfce xubuntu

Trending now

The Search for Markdown Viewer is Over
Marx, Engels and Lenin in Pul-e-Charkhi Prison
the museum of islamic art at night
Best Doha Layover Itinerary: Tips for Long-Haul Travelers
computer c code
Adding Code Formatting Tools in Notepad++

Copyright © 2026 - BlogEtcetera | Privacy Policy