in reply to Re^2: format problem
in thread format problem

Can you show how you are using this, and what errors you get?

Replies are listed 'Best First'.
Re^4: format problem
by newly (Initiate) on Jul 20, 2005 at 23:50 UTC
    i need to write a program that will generate a check i got his codes: format STDOUT = Check No. @<<<<<< $chkno first @<<<<<<<<<< last @<<<<<<<<<<<<<<< $first,$last Address:@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $addr[0] Address:@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $addr[1] Phone:@<<<<<<<<<<<< Date:@<<<<<<<<<<<< $phone,$date Pay to the Order of: @<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $payee . format Amount: Amount: @#####.## $amount . format STDOUT = For:@>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $memo Stamped Signature . i got this errors: am having syntax error line 24 EOF might be a run away multi line << string startng line 2 any help will do thanks
      Several things:
      • I think no space is allowed between the format name and the =
      • "format Amount:" what is this?
      • You can only have one format for each name; you can select different names by setting the $~ variable (see perldoc perlvar).
      • If you need more help, please show your complete code including the write calls you are using to actually use the formats.