in reply to Formats and Variables

You want to use formline() and $^A.
formline('@<<<<<<<<<<@<<<<<<<<<<', $first_name, $last_name); my $fullname = $^A;
Or, just use sprintf().

japhy -- Perl and Regex Hacker

Replies are listed 'Best First'.
Re: Re: Formats and Variables
by Abigail (Deacon) on Jun 21, 2001 at 03:26 UTC
    Except sprintf and formline, you could also use a Safe Pipe Open, and have the child use formats, writing to STDOUT. What the child writes, the parent can read from STDIN.

    This might mean less changes in the program, depending on how things are set up. Safe Pipe Opens are discussed in the perlopentut</code> manual page.

    -- Abigail

      It's in the perlipc manpage on my system.
      --
      Snazzy tagline here
Re: Re: Formats and Variables
by skazat (Chaplain) on Jun 21, 2001 at 03:27 UTC
    thanks everyone, that looks like the ticket,

    -justin simoni
    !skazat!