Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: inserting a formatted text file into a perl script.

by starbolin (Hermit)
on Aug 04, 2006 at 06:37 UTC ( [id://565615]=note: print w/replies, xml ) Need Help??


in reply to inserting a formatted text file into a perl script.

Please elucidate what is not working for you.

Troll [181] as maint ~/ %cat foo +[11:33pm] #!/usr/bin/perl -w use strict; &help; sub help() { print <<"EOF"; blah blah EOF } Troll [182] as maint ~/ %perl foo +[11:33pm] blah blah Troll [183] as maint ~/ %


s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2024-03-28 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found