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 strongm 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: *

  1. Bob6739

    Perl Beginner - Need Help

    Hi Feherke, Thanks for your help. Let me step back and explain what I'm trying to do and see if it makes sense. I'm a retired engineer working with several other volunteers to publish a weekly senior citizens email newsletter for our town. The newsletter popularity is growing and is now sent to...
  2. Bob6739

    Perl Beginner - Need Help

    I thought one split command would split an entire file but it appears it returns when it does one split so you have to keep cycling through it? I found an example online and changed it to use my filename. Here it is - #!/usr/bin/perl # perl split function example $filename = 'PoliceLog.txt'...
  3. Bob6739

    Perl Beginner - Need Help

    I'm just learning Perl and can't figure out why this code does not work. #!/usr/bin/env perl use strict; use warnings; open(my $configfile, "<", 'PoliceLog.txt') or die "Could not read file\n"; my @configdata = split 'zz', $configfile; print "$configdata[0]\n"; close $configfile;[/b] I...

Part and Inventory Search

Back
Top