Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: lit8rtot
  • Content: Threads
  • Order by date
  1. lit8rtot

    Use of $# to get array size in Perl 5.10

    I apologize if this is a repeat. The following code works on Perl v5.8.8, but does not on v5.10.0. #!/usr/bin/perl use strict; sub getListIdx { my $listref = shift; my $sval = shift; for (my $i=0; $i<=$#{@{$listref}}; $i++) { if ($sval eq...
  2. lit8rtot

    How to stop Perl from removing table formatting from mysql command?

    I am executing the mysql command from within Perl scripts (long story why not using Perl DBI module). What I am finding is that Perl is stripping out the "table border" characters that are normally output by the mysql command when doing a select from a table. For example, I get this: ID...

Part and Inventory Search

Back
Top