Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Question on using format and write

by vagnerr (Prior)
on Dec 13, 2002 at 20:21 UTC ( #219740=note: print w/ replies, xml ) Need Help??


in reply to Re: Question on using format and write
in thread Question on using format and write

Foxcub is correct. It looks like it is a scope problem. If you were to enforce warnings ( perl -w ) then you would get an error allong the lines of

Use of uninitialized value in formline at ????.pl line ??.
if you remove your line
my ($cust, $d1, $d2, $c1, $c2);
from the function, or perhaps put it before you define your format that should give you your output :-)

_______________________________________________________
Remember that amateurs built Noah's Ark. Professionals built the Titanic.


Comment on Re: Re: Question on using format and write
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://219740]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-09-24 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (245 votes), past polls