Skip to content
BarryCrowder.net
View website Menu
  • Home
  • About
  • Posts
  • Contact
  • Type your search
  • Home
  • About
  • Posts
  • Contact
  • Type your search

perl

  1. Home>
  2. Posts>
  3. perl

perl: safe() strings for concatenation

  • Post author:Barry
  • Post published:2008-09-25
  • Post category:Programming

At some point, if you use perl enough, you'll encounter the following error message: Use of uninitialized value in concatenation (.) or string at ./progname.pl line #. While it does not…

Continue Readingperl: safe() strings for concatenation

perl: trim()

  • Post author:Barry
  • Post published:2008-09-25
  • Post category:Programming

A trim() function should be native to perl, but since it isn't, this will have to do. sub trim { my @vals=@_; for (@vals) { s/^s+//; s/s+$//; } return wantarray ?…

Continue Readingperl: trim()

Sponsors



Categories

  • Automotive
  • Creativity
  • Photos
  • Programming
  • Recipes
  • Uncategorized

About Me

Jack of many trades, master of none.

Join Newsletter

Coming soon