From: William Martell <mailto:[EMAIL PROTECTED]> wrote:

: Hello Group,
: 
: 
: 
: I am trying to get this code to run. I got it from the book
: Data Munging with Perl. I cut and pasted the code, then
: changed the input from stdin to FILE. I supplied a text file
: for the passwords (I am on a Windows 2k box). But I can't get
: it correct. I think the line @[EMAIL PROTECTED]) = split(/:/); is
: incorrect syntactically but I could be wrong. Could anyone
: help me understand this problem. Thanks in Advance!

[snipped code]

    After removing blank lines and illegal characters I get the
following errors.

syntax error at bb.pl line 15, near "@fields) "
Global symbol "$rec" requires explicit package name at bb.pl line 16.
Missing right curly or square bracket at bb.pl line 30, at end of line

    Show us the example from the book. Or give us a link to
it on line. (When you cut and paste code please prune excess
spacing.) A sample file would be nice to.

HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to