Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Regular Expression Assistance

by janx (Monk)
on Jun 10, 2002 at 13:23 UTC ( [id://173112]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $filename = $ARGV[0] or die "No filename given\n";
    open INPUT, "<", $filename or die "could not open $filename\n";
    while (<INPUT>) { print $_ };
    close INPUT;
    
  2. or download this
    my ($file_without_path) = $filename =~ /^.*?\/(\w*?\w*?\.ext)$/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found