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 gkittelson 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: yangyang
  • Order by date
  1. yangyang

    text file as a string

    Sorry. And thanks Duncdude.
  2. yangyang

    arrays again

    I copy this from man perlretut, holp it will help. $x = "Mmm...donut, thought Homer"; $x =~ /^(Mmm|Yech)\.\.\.(donut|peas)/; # matches foreach $expr (1..$#-) { print "Match $expr: '${$expr}' at position ($-[$expr],$+[$expr])\n"; } prints Match 1: 'Mmm' at position...
  3. yangyang

    text file as a string

    Try this.... open (FILE, "filename.txt") my @stringvariable = FILE; $stringvariable = join ('\n', @stringvariable);

Part and Inventory Search

Back
Top