print /! get a newline

2008-10-11 Thread April
print $wholething, "\!", "\n"; and get the following: Thank you ! How can make them on the same line? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: sprintf format question

2008-06-05 Thread April
On Jun 4, 8:00 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > April wrote: > > sprintf( "%s%$Fmt%s", ("%$Fmt=|", $TestStr, "|")) > > > This is in Perl for Dummies, 4th ed, p160. > > > I'm trying to understand this ... > > > the

sprintf format question

2008-06-04 Thread April
sprintf( "%s%$Fmt%s", ("%$Fmt=|", $TestStr, "|")) This is in Perl for Dummies, 4th ed, p160. I'm trying to understand this ... the first part, "%s%$Fmt%s", my understanding is the format part, which specifies the formats for the second part, thelist part, ("% $Fmt=|", $TestStr, "|"): %s for "%$F

Regular Expressions

2005-07-13 Thread April T . Barrett
Hello: I need some tips on going about regular expression: parsing through a text file and printing all of the words that - for example - Begin and end with an "G" Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]